Added additional help for supybot.log.level.

This commit is contained in:
Jeremy Fincher 2007-10-23 03:33:11 +00:00 committed by James Vega
parent 0278318ed9
commit 64d34792ca

View File

@ -247,8 +247,10 @@ conf.registerGlobalValue(conf.supybot.log, 'format',
its logging module.""")) its logging module."""))
conf.registerGlobalValue(conf.supybot.log, 'level', conf.registerGlobalValue(conf.supybot.log, 'level',
LogLevel(logging.INFO, """Determines what the minimum priority level logged LogLevel(logging.INFO, """Determines what the minimum priority level logged
will be. Valid values are DEBUG, INFO, WARNING, ERROR, to file will be. Do note that this value does not affect the level logged
and CRITICAL, in order of increasing priority.""")) to stdout; for that, you should set the value of supybot.log.stdout.level.
Valid values are DEBUG, INFO, WARNING, ERROR, and CRITICAL, in order of
increasing priority."""))
conf.registerGlobalValue(conf.supybot.log, 'timestampFormat', conf.registerGlobalValue(conf.supybot.log, 'timestampFormat',
registry.String('%Y-%m-%dT%H:%M:%S', """Determines the format string for registry.String('%Y-%m-%dT%H:%M:%S', """Determines the format string for
timestamps in logfiles. Refer to the Python documentation for the time timestamps in logfiles. Refer to the Python documentation for the time