[issue20137] Logging: RotatingFileHandler computes string length instead of byte representation length.
A. Libotean
report at bugs.python.org
Mon Jan 6 10:19:31 CET 2014
New submission from A. Libotean:
Current implementation of RotatingFileHandler ignores the encoding when computing the entry byte length.
I've attached a modified version that will compute the entry lenght in bytes.
----------
components: Library (Lib)
files: rotatingfilehandler.py
messages: 207417
nosy: alibotean
priority: normal
severity: normal
status: open
title: Logging: RotatingFileHandler computes string length instead of byte representation length.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file33322/rotatingfilehandler.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20137>
_______________________________________
More information about the Python-bugs-list
mailing list