Douglas Schilling Landgraf has uploaded a new change for review. Change subject: ovirtfunctions: installation logs to /tmp ......................................................................
ovirtfunctions: installation logs to /tmp The installation logs should be recorded in /tmp/ovirt.log for later move to /var/log/ovirt.log. This patch make sure the installation logs are setup to /tmp/ovirt.log and have proper handlers. Change-Id: I4a17096ca922fdfd0fa850eead0d3cc43ee5a16c Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M src/ovirtnode/ovirtfunctions.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/20/42520/1 diff --git a/src/ovirtnode/ovirtfunctions.py b/src/ovirtnode/ovirtfunctions.py index bb3f808..7481341 100644 --- a/src/ovirtnode/ovirtfunctions.py +++ b/src/ovirtnode/ovirtfunctions.py @@ -1862,7 +1862,7 @@ logger.addHandler(handler) return logger -if is_firstboot(): +if is_firstboot() or is_install(): log_file = OVIRT_TMP_LOGFILE logger = setup_custom_logger() else: -- To view, visit https://gerrit.ovirt.org/42520 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4a17096ca922fdfd0fa850eead0d3cc43ee5a16c 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
