Joshua Olson added the comment:
If delay is set then don't automatically open the new file.
--
keywords: +patch
Added file: http://bugs.python.org/file31625/delay_rollover.patch
___
Python tracker
<http://bugs.python.org/is
Joshua Olson added the comment:
Demonstrate the bug
--
Added file: http://bugs.python.org/file31624/logging_test.py
___
Python tracker
<http://bugs.python.org/issue18
Changes by Joshua Olson :
Added file: http://bugs.python.org/file31623/logging_test.py
___
Python tracker
<http://bugs.python.org/issue18940>
___
___
Python-bugs-list m
Joshua Olson added the comment:
This fixes the issue in both RotatingFilerHandler classes.
--
title: TimedRotatingFileHandler fails to doRollover if a logger has delay=True
and no logs in that time. -> TimedRotatingFileHandler and RotatingFileHandler
fail to doRollover if a logger
Changes by Joshua Olson :
Removed file: http://bugs.python.org/file31621/doRollover.patch
___
Python tracker
<http://bugs.python.org/issue18940>
___
___
Python-bugs-list m
Changes by Joshua Olson :
Removed file: http://bugs.python.org/file31620/logging_test.py
___
Python tracker
<http://bugs.python.org/issue18940>
___
___
Python-bugs-list m
Changes by Joshua Olson :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue18940>
___
___
Python-bugs-list mailing list
Unsubscrib
Joshua Olson added the comment:
Here is a patch for the logging file from the cpython hg repo.
--
keywords: +patch
Added file: http://bugs.python.org/file31621/doRollover.patch
___
Python tracker
<http://bugs.python.org/issue18
New submission from Joshua Olson:
For low volume loggers RotatingFileHandler and TimedRotatingFileHandler will
create possibly unnecessary files on doRollover, since they don't check the
value of delay when opening the new self.stream.
self.stream = self._open()
should be something lik
New submission from Joshua Olson:
In TimedRotatingFileHandler if you have a low volume logger than hasn't written
to the log within the interval time doRollover will fail because there is no
file to rotate.
os.rename(self.baseFilename, dfn)
should be something like
if os.path.e
10 matches
Mail list logo