[node-patches] Change in ovirt-node[master]: logger: replace .debug statement for .warning
dougsland at redhat.com
dougsland at redhat.com
Wed Mar 25 21:17:28 UTC 2015
Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: logger: replace .debug statement for .warning
......................................................................
logger: replace .debug statement for .warning
If there is no default label on restorecon call, we
should log as warning.
Change-Id: I32ef4be12f9c7147a8d0b05d5fceb20648d54adc
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M src/ovirt/node/utils/security.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/12/39212/1
diff --git a/src/ovirt/node/utils/security.py b/src/ovirt/node/utils/security.py
index 3319342..b508cc4 100644
--- a/src/ovirt/node/utils/security.py
+++ b/src/ovirt/node/utils/security.py
@@ -104,7 +104,7 @@
try:
selinux.restorecon(abspath)
except OSError:
- self._logger.debug('No default label: "%s"', abspath)
+ self._logger.warning('No default label: "%s"', abspath)
def getcon(self, abspath):
""" Return context of file, symlink or dir """
--
To view, visit https://gerrit.ovirt.org/39212
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I32ef4be12f9c7147a8d0b05d5fceb20648d54adc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
More information about the node-patches
mailing list