Re: [Zope-dev] Re: zLOG changes

2004-04-24 Thread Chris Withers
Fred Drake wrote: On Wednesday 21 April 2004 04:48 am, Chris Withers wrote: I'm guessing there is some kind of log-to-console logger already? If so, why not just add that in zope.conf and comment it out when you move to production? That would work for me, but not everyone at ZC agreed, so

Re: [Zope-dev] Re: zLOG changes

2004-04-23 Thread Dieter Maurer
Fred Drake wrote at 2004-4-22 17:15 -0400: I wrote: - In debug mode, add a new handler that dumps to standard output. This is fairly easy to code, but is inflexible. Andreas responded: But flexible enough for most usecase. The point is that you want to see the tracebacks on the console

Re: [Zope-dev] Re: zLOG changes

2004-04-22 Thread Fred Drake
I wrote: - In debug mode, add a new handler that dumps to standard output. This is fairly easy to code, but is inflexible. Andreas responded: But flexible enough for most usecase. The point is that you want to see the tracebacks on the console during the development phase. Watching the

Re: [Zope-dev] Re: zLOG changes

2004-04-22 Thread Fred Drake
On Wednesday 21 April 2004 04:48 am, Chris Withers wrote: I'm guessing there is some kind of log-to-console logger already? If so, why not just add that in zope.conf and comment it out when you move to production? That would work for me, but not everyone at ZC agreed, so I've made some

Re: [Zope-dev] Re: zLOG changes

2004-04-21 Thread Andreas Jung
--On Dienstag, 20. April 2004 17:19 Uhr -0400 Fred Drake [EMAIL PROTECTED] wrote: - when adding LOG = getLogger(...) LOG.info(...) to some modules then the output is only written to the event.log but no longer to stdout (if running in debug mode). Is this change

Re: [Zope-dev] Re: zLOG changes

2004-04-21 Thread Chris Withers
Andreas Jung wrote: - In debug mode, use an alternate or auxillary logging configuration to replace or augment the eventlog configuration section. This is more work up front, but keeps everything flexible. Maybe too much overkill...not sure if one needs an academic solution here... I'm

[Zope-dev] Re: zLOG changes

2004-04-21 Thread Tres Seaver
Andreas Jung wrote: --On Dienstag, 20. April 2004 17:19 Uhr -0400 Fred Drake [EMAIL PROTECTED] wrote: - when adding LOG = getLogger(...) LOG.info(...) to some modules then the output is only written to the event.log but no longer to stdout (if running in debug mode). Is

[Zope-dev] Re: zLOG changes

2004-04-20 Thread Fred Drake
On Tuesday 20 April 2004 01:22 pm, Andreas Jung wrote: - the entries in the event.log are currently written without the log level. Is this dedicated behaviour? I think the log level should be part of the event.log It should. This was lost when I changed the zLOG -- logging mapping, and