changeset 22:c26eaa20b70d

Keep 10 5MB log files.
author Daniel O'Connor <darius@dons.net.au>
date Tue, 16 Apr 2013 08:14:56 +0930
parents 857bef563f52
children 08535b12504f
files zbmux.tac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/zbmux.tac	Tue Apr 16 08:13:40 2013 +0930
+++ b/zbmux.tac	Tue Apr 16 08:14:56 2013 +0930
@@ -110,7 +110,7 @@
 
         # Add the log message handler to the logger
         handler = logging.handlers.RotatingFileHandler(
-            lognamebase % (zbid), maxBytes = 1 * 1024 * 1024, backupCount = 5)
+            lognamebase % (zbid), maxBytes = 5 * 1024 * 1024, backupCount = 10)
 
         self.logger.addHandler(handler)