[node-patches] Change in ovirt-node[master]: Use WatchedFileHandler instead of RotatingFileHandler

mburns at redhat.com mburns at redhat.com
Mon Jun 24 16:20:19 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: Use WatchedFileHandler instead of RotatingFileHandler
......................................................................


Use WatchedFileHandler instead of RotatingFileHandler

Even though we just switched to RotatingFileHandler, it does not
interact well with logrotate, whereas WatchedFileHandler is
explicitly intended to deal with that use case. Additionally,
using WatchedFileHandler ensures that the logging page accurately
reflects the actual sizes of logfiles, and that our own logrotate
job performs as expected.

Change-Id: I6230b1da121a8c3711b7c09cbc8b174ee6b12032
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=976053
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M data/logging.conf
M data/logging.debug.conf
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6230b1da121a8c3711b7c09cbc8b174ee6b12032
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list