|
Configures the Python logging module, using options that are very
similar to the ones listed in the Python documentation. This also removes
the logging configuration from the configuration dictionary because
CherryPy doesn't like it there. Here are some of the Python examples
converted to the format used here:
[logging] [[loggers]] [[[parser]]] [logger_parser]
level="DEBUG" handlers="hand01" propagate=1
qualname="compiler.parser"
[[handlers]] [[[hand01]]] class="StreamHandler"
level="NOTSET" formatter="form01"
args="(sys.stdout,)"
[[formatters]] [[[form01]]] format="F1 *(asctime)s *(levelname)s
*(message)s" datefmt=
One notable format difference is that *() is used in the formatter
instead of %() because %() is already used for config file
interpolation.
|