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
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
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
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
--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
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
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
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