-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sidnei da Silva wrote:
> Anyone has enough knowledge about the zLOG changes in Zope 2.8 to give
> a clue about why it's logging much more stuff to the console and the
> output looks sooooooo different?

Zope 2.8 uses the standard Python 'logger' module, which accounts for
the formatting differences.  You can change the format string used to
generate the log entries via zope.conf, e.g.:

<eventlog>
  level info
  <logfile>
    path $INSTANCE/var/event.log
    level info
    format %(asctime)s %(message)s
  <logfile>
<eventlog>

would get rid of the '------' lines between entries.

At "INFO" level, I think 2.8 logs even less than 2.7;  "BLATHER" level
is a lot noiser, however.  I have no earthly idea why we default the
logging level to "all" (but 2.7 did to); "INFO" is a much more
reasonable default.

Tres.
- --
===============================================================
Tres Seaver                                [EMAIL PROTECTED]
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCVHo2GqWXf00rNCgRAi3+AJ9SjjdRuudSynMv+VxC0fo6le59QgCgnEKq
UzfQua0Qh/iUPhw7r8JlAhQ=
=xpJ5
-----END PGP SIGNATURE-----

_______________________________________________
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders

Reply via email to