[Zope-Coders] Wrapping lines in zLOG?
Florent Guillaume
fg@nuxeo.com
Tue, 17 Sep 2002 13:58:38 +0000 (UTC)
Guido van Rossum <guido@python.org> wrote:
> > One of which would be, IMHO, the wrapping of tracebacks, which I
> > certainly wouldn't want.
>
> I only wrap the first line of the log message. At least what's
> usually the first line. Toby Dickenson just mentioned that there are
> \n and \t characters in some log messages; those would be included.
>
> There are three parts to a log message: the part you normally see,
> with the timestamp, severity, subsystem, and message; an optional
> "detail" which is printed next on a line by itself; and an optional
> traceback, which is printed last. I've never seen the detail used,
> and my code doesn't wrap it. It also stays off the tracebacks.
Ok. Then I'm happy with that.
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com