Hi,

Where can I find the configuration setting for the 
logging level used in the transcript.log file?

I have tried looking in etc/zope.conf, etc/zdaemon.conf
and came up empty handed.  I can see ERROR levels easily
enough.  This works and shows up in transcript.log:  

import logging

logging.basicConfig(level=logging.DEBUG,
                    format='%(asctime)s %(levelname)-8s %(message)s',
                    datefmt='%a, %d %b %Y %H:%M:%S', 
                    
filename='/usr/local/www/Zope3/mv/lib/python/hello/utility/log',
                    filemode='a') 

logging.error('Pack my box with %d dozen %s', 5, 'liquor jugs')

But this does not show up in transcript.log:

logging.debug('Pack my box with %d dozen %s', 5, 'liquor jugs')

Both messages end up in my local log file.  I think I understand 
that the logging function is using mine and a logger registered
with zope.  Where do I find out about the zope logger?

Thanks in advance!

Vinny

P.S. Gosh this zope 3 stuff is hard.
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to