[node-patches] Change in ovirt-node[master]: logging: Replace log import for logging

fabiand at redhat.com fabiand at redhat.com
Thu Jun 11 13:53:10 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: logging: Replace log import for logging
......................................................................


logging: Replace log import for logging

oVirt Node provides persist/unpersist module
for node components like VDSM but depending of
user:group of component doesn't have access
to write into /var/log/ovirt-node.log,
/var/log/ovirt.log and fail to start due
this limitation. This patch replace the log usage
to logging so application can record the log in
their own logs.

Change-Id: I6ecaa56454d40ee83b91632a57f3d194866531ee
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1224400
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M src/ovirt/node/base.py
M src/ovirt/node/config/defaults.py
M src/ovirt/node/config/network.py
M src/ovirt/node/utils/fs/__init__.py
M src/ovirt/node/utils/hooks.py
M src/ovirt/node/utils/network.py
M src/ovirt/node/utils/system.py
M src/ovirtnode/ovirtfunctions.py
8 files changed, 28 insertions(+), 27 deletions(-)

Approvals:
  Fabian Deutsch: Looks good to me, approved
  Douglas Schilling Landgraf: Verified



-- 
To view, visit https://gerrit.ovirt.org/42007
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ecaa56454d40ee83b91632a57f3d194866531ee
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list