[Zope-Checkins] CVS: ZODB3/zLOG - MinimalLogger.py:1.15
Guido van Rossum
guido@python.org
Mon, 16 Sep 2002 11:21:28 -0400
> > Don't shoot me. I got tired of reading long log lines in an 80-char
> > wide xterm or emacs window. So now, when using Python 2.3 or later,
> > the textwrap module is used to wrap the message line, indenting
> > subsequent lines past the timestamp. Details and tracebacks are left
> > alone.
>
> Hmmm, will this make post-processing logfiles tougher?
Possibly. What kind of post-processing did you have in mind? A
simple grep for lines containing "zrpc" will indeed no longer work.
Cleverer tools should already expect multi-line log messages,
separated by "------" lines.
I'm quite happy to roll this back if there are problems with it, but
I'd like to hear of concrete incompatibilities rather than FUD. :-)
--Guido van Rossum (home page: http://www.python.org/~guido/)