diff MoinMoin/logfile/__init__.py @ 1838:e1d4cc010dec

Reduced log file buffer to 4 kB.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 27 Feb 2007 12:34:30 +0100
parents 738bb2ec6b7f
children 472566340cd8
line wrap: on
line diff
--- a/MoinMoin/logfile/__init__.py	Tue Feb 27 11:22:12 2007 +0100
+++ b/MoinMoin/logfile/__init__.py	Tue Feb 27 12:34:30 2007 +0100
@@ -78,7 +78,7 @@
     Overwrite .parser() and .add() to customize this class to special log files
     """
 
-    def __init__(self, filename, buffer_size=65536):
+    def __init__(self, filename, buffer_size=4096):
         """
         @param filename: name of the log file
         @param buffer_size: approx. size of one buffer in bytes