[issue20136] Logging: StreamHandler does not use OS line separator.
A. Libotean
report at bugs.python.org
Mon Jan 6 10:02:49 CET 2014
New submission from A. Libotean:
The StreamHandler implementation uses hardcoded Unix/Linux line separators. This generates inconveniences when running on Windows as the file viewers expect DOS line terminators.
I've attached a fix that will use os.linesep as the line terminator thus making the log files usable with Windows utilities.
Please revise the fix and consider including it.
----------
components: Library (Lib)
files: streamhandler.py
messages: 207416
nosy: alibotean
priority: normal
severity: normal
status: open
title: Logging: StreamHandler does not use OS line separator.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file33321/streamhandler.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20136>
_______________________________________
More information about the Python-bugs-list
mailing list