Sandro Bonazzola has submitted this change and it was merged.
Change subject: log: default logging to timestamped files
......................................................................
log: default logging to timestamped files
Log messages to timestamped files as default,
avoiding to overwrite existing ones.
The default location of the logs was changed,
to improve /var/log/ovirt-engine sanity.
/var/log/ovirt-engine -> /var/log/ovirt-engine/ovirt-iso-uploader
A log rotation was introduced in order to compress old logs.
Bug-Url:
https://bugzilla.redhat.com/1009115
Change-Id: I55f8d7061ea3a2f112ca602a954b87fec705baa8
Signed-off-by: Sandro Bonazzola <sbonazzo(a)redhat.com>
---
M .gitignore
M configure.ac
M ovirt-iso-uploader.spec.in
M src/Makefile.am
M src/__main__.py
A src/config.py.in
A src/logrotate.d/Makefile.am
A src/logrotate.d/ovirt-iso-uploader.in
8 files changed, 104 insertions(+), 8 deletions(-)
Approvals:
Sandro Bonazzola: Verified; Looks good to me, approved
Yedidyah Bar David: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/19392
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I55f8d7061ea3a2f112ca602a954b87fec705baa8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-iso-uploader
Gerrit-Branch: ovirt-iso-uploader-3.2
Gerrit-Owner: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Keith Robertson <kroberts(a)redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server