[node-patches] Change in ovirt-node[master]: ui: Use RotatingFileHandler
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Mon May 27 10:36:28 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: ui: Use RotatingFileHandler
......................................................................
ui: Use RotatingFileHandler
Previously there was no bound on the size of the logfiles generated by
the TUI. Now a bound is set to roughly 5MB, base 10.
Change-Id: I2ef80fe12d74a2a7ec3b459d3977d380b89fa173
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M data/logging.conf
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/82/15082/1
diff --git a/data/logging.conf b/data/logging.conf
index 554f150..708c586 100644
--- a/data/logging.conf
+++ b/data/logging.conf
@@ -21,16 +21,16 @@
qualname=ovirt.node
[handler_file]
-class=FileHandler
+class=RotatingFileHandler
level=INFO
formatter=simple
-args=('/var/log/ovirt-node.log', 'w')
+args=('/var/log/ovirt-node.log', 'w', 5000000)
[handler_debug]
-class=FileHandler
+class=RotatingFileHandler
level=DEBUG
formatter=verbose
-args=('/var/log/ovirt-node.debug.log', 'w')
+args=('/var/log/ovirt-node.debug.log', 'w', 5000000)
[handler_stderr]
class=StreamHandler
--
To view, visit http://gerrit.ovirt.org/15082
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ef80fe12d74a2a7ec3b459d3977d380b89fa173
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list