[Pkg-bazaar-commits] ./bzr/unstable r270: - Allow log files up to 1MB

Martin Pool mbp at sourcefrog.net
Fri Apr 10 07:51:36 UTC 2009


------------------------------------------------------------
revno: 270
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-04-15 13:33:18 +1000
message:
  - Allow log files up to 1MB
modified:
  bzrlib/trace.py
-------------- next part --------------
=== modified file 'bzrlib/trace.py'
--- a/bzrlib/trace.py	2005-04-15 03:32:32 +0000
+++ b/bzrlib/trace.py	2005-04-15 03:33:18 +0000
@@ -80,7 +80,7 @@
 def _rollover_trace_maybe(trace_fname):
     try:
         size = os.stat(trace_fname)[stat.ST_SIZE]
-        if size <= 100000:
+        if size <= 1 << 20:
             return
         old_fname = trace_fname + '.old'
 



More information about the Pkg-bazaar-commits mailing list