+-------[ Ken Winter ]----------------------
|
| > -----Original Message-----
| > From: Andrew Milton [mailto:a...@theinternet.com.au]
| > Sent: Wednesday, August 05, 2009 3:49 PM
| > To: Ken Winter
| > Cc: 'Zope List'
| > Subject: Re: [Zope] Getting Zope code to output to event.log
| > 
| > +-------[ Ken Winter ]----------------------
| > |
| > | I figure these modules have to be reinstalled or re-somethinged to get
| > my
| > | changes activated, but I don?t know how to do this.  Can you help?
| > 
| > [this assumes the code is actually being called]
| > 
| > You are probably logging at a level below the level that will be output
| > into the log.
| > 
| > LOG.info() is about the lowest level that will go out by default.
| > 
| > Without seeing any examples from you it's hard to tell.
| 
| Here's an example of the traceback from the error I'm trying to debug.  I
| assume the fact that a module appears in the traceback proves that it is
| being called.

And you have your logging level set to what?

Look in your zope.conf for <eventlog> it should be similar to;

<eventlog>
  level INFO
  <logfile>
    path $INSTANCE/log/event.log
  </logfile>
</eventlog>

You can also try changing logger.info to logger.warn or logger.error

-- 
Andrew Milton
a...@theinternet.com.au
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to