53 lines
852 B
INI
53 lines
852 B
INI
[loggers]
|
|
keys = root,drbotzo,irclib,drbotzo.markov,drbotzo.weather
|
|
|
|
[handlers]
|
|
keys = stdout,logfile
|
|
|
|
[formatters]
|
|
keys = verbose
|
|
|
|
[logger_root]
|
|
level = INFO
|
|
handlers = stdout,logfile
|
|
|
|
[logger_irclib]
|
|
level = INFO
|
|
handlers = stdout,logfile
|
|
propagate = 0
|
|
qualname = irclib
|
|
|
|
[logger_drbotzo]
|
|
level = INFO
|
|
handlers = stdout,logfile
|
|
propagate = 0
|
|
qualname = drbotzo
|
|
|
|
[logger_drbotzo.markov]
|
|
level = DEBUG
|
|
handlers = stdout,logfile
|
|
propagate = 0
|
|
qualname = drbotzo.markov
|
|
|
|
[logger_drbotzo.weather]
|
|
level = DEBUG
|
|
handlers = stdout,logfile
|
|
propagate = 0
|
|
qualname = drbotzo.weather
|
|
|
|
[handler_stdout]
|
|
class = StreamHandler
|
|
level = DEBUG
|
|
formatter = verbose
|
|
args = ''
|
|
|
|
[handler_logfile]
|
|
class = FileHandler
|
|
level = DEBUG
|
|
formatter = verbose
|
|
args = ('dr.botzo.log', 'a')
|
|
|
|
[formatter_verbose]
|
|
format = [%(levelname)-8s %(asctime)s %(name)s] %(message)s
|
|
datefmt =
|