Added logging.conf
This commit is contained in:
parent
c1f72fc19d
commit
bbcb1e7750
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -162,7 +162,6 @@ cython_debug/
|
|||
|
||||
data/
|
||||
secrets
|
||||
logging.conf
|
||||
config
|
||||
static/**
|
||||
templates/**
|
||||
|
|
|
|||
22
logging.conf
Normal file
22
logging.conf
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[loggers]
|
||||
keys=root
|
||||
|
||||
[handlers]
|
||||
keys=consoleHandler
|
||||
|
||||
[formatters]
|
||||
keys=simpleFormatter
|
||||
|
||||
[logger_root]
|
||||
level=INFO
|
||||
handlers=consoleHandler
|
||||
propagate=yes
|
||||
|
||||
[handler_consoleHandler]
|
||||
class=StreamHandler
|
||||
level=DEBUG
|
||||
formatter=simpleFormatter
|
||||
args=(sys.stdout,)
|
||||
|
||||
[formatter_simpleFormatter]
|
||||
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
||||
Loading…
Reference in a new issue