Trees | Indices | Help |
|
---|
|
Creates new loggers from a python logging configuration file.
|
|||
ZenFileHandler Like python's FileHandler but relative to ZENHOME/log/ |
|||
ZenRotatingFileHandler Like python's RotatingFileHandler but relative to ZENHOME/log/ |
|||
ZenTimedRotatingFileHandler Like python's TimedFileHandler but relative to ZENHOME/log/ |
|
|||
|
|||
|
|||
|
|
|||
log = logging.getLogger("zen.configlog")
|
|
Add new loggers, handlers, and fomatters from a file. The file should be in the standard Python log config format described here: http://docs.python.org/library/logging.config.html#configuration-file-format This code was copied from the Python 2.7 logging.config.fileConfig() method, then altered to not require root or wipe existing loggers. Unfortunately the standard option "disable_existing_loggers=False" would still wipe out their settings and replace root, undoing Zope's log config. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Tue Oct 11 12:51:17 2011 | http://epydoc.sourceforge.net |