Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 444 Bytes
[loggers]
keys=root
[logger_root]
handlers=screen,file
level=INFO
[formatters]
keys=main
[formatter_main]
format=%(asctime)s | %(levelname)s | %(processName)-11s | %(threadName)-10s | [%(module)s.%(funcName)s] %(message)s
datefmt=%Y-%m-%d %H:%M:%S
[handlers]
keys=file,screen
[handler_file]
class=FileHandler
formatter=main
level=WARN
args=('mcsoda.log',)
[handler_screen]
class=StreamHandler
formatter=main
level=INFO
args=(sys.stdout,)