Change in ovirt-log-collector[master]: log: default logging to timestamped files

sbonazzo at redhat.com sbonazzo at redhat.com
Tue Aug 20 10:55:09 UTC 2013


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-log-collector

A log rotation was introduced in order to compress old logs.

Bug-Url: https://bugzilla.redhat.com/998576

Change-Id: If180bb3c425d94449236147cddc17c504bf602b7
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
---
M configure.ac
M ovirt-log-collector.spec.in
M src/Makefile.am
M src/__main__.py
M src/config.py.in.in
A src/logrotate.d/Makefile.am
A src/logrotate.d/ovirt-log-collector.in
7 files changed, 83 insertions(+), 11 deletions(-)

Approvals:
  Sandro Bonazzola: Verified; Looks good to me, approved
  Alex Lourie: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/18299
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If180bb3c425d94449236147cddc17c504bf602b7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Keith Robertson <kroberts at redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>



More information about the Engine-commits mailing list