Lower log level for xattr op error with errno ENOTSUP
This commit is contained in:
parent
3f3b3a15c7
commit
fee2dff744
1 changed files with 7 additions and 1 deletions
|
@ -50,7 +50,13 @@ void reapXAttrs(const RclConfig* cfg, const string& path,
|
||||||
// Retrieve xattrs names from files and mapping table from config
|
// Retrieve xattrs names from files and mapping table from config
|
||||||
vector<string> xnames;
|
vector<string> xnames;
|
||||||
if (!pxattr::list(path, &xnames)) {
|
if (!pxattr::list(path, &xnames)) {
|
||||||
LOGERR(("FileInterner::reapXattrs: pxattr::list: errno %d\n", errno));
|
if (errno == ENOTSUP) {
|
||||||
|
LOGDEB(("FileInterner::reapXattrs: pxattr::list: errno %d\n",
|
||||||
|
errno));
|
||||||
|
} else {
|
||||||
|
LOGERR(("FileInterner::reapXattrs: pxattr::list: errno %d\n",
|
||||||
|
errno));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const map<string, string>& xtof = cfg->getXattrToField();
|
const map<string, string>& xtof = cfg->getXattrToField();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue