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 <[email protected]> --- 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 <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
