Removed init and restart functions and writes to state file. Moved create tables to init method of DBManager and launch from init command. Restart removed. Rearranged order in runnable.py according to sections. Only init command working since rest of runnable function not updated at the moment.
38 lines
599 B
Plaintext
38 lines
599 B
Plaintext
[loggers]
|
|
keys=root,transactions
|
|
|
|
[handlers]
|
|
keys=console,file
|
|
|
|
[formatters]
|
|
keys=simple,complex
|
|
|
|
[logger_root]
|
|
level=NOTSET
|
|
handlers=console,file
|
|
|
|
[logger_transactions]
|
|
level=DEBUG
|
|
handlers=console,file
|
|
propagate=0
|
|
qualname=pfbudget.transactions
|
|
|
|
[handler_console]
|
|
class=StreamHandler
|
|
level=INFO
|
|
formatter=simple
|
|
args=(sys.stdout,)
|
|
|
|
[handler_file]
|
|
class=FileHandler
|
|
level=NOTSET
|
|
formatter=complex
|
|
args=('logs/pfbudget.log', 'a',)
|
|
|
|
[formatter_simple]
|
|
format=%(asctime)s %(message)s
|
|
datefmt=%Y-%m-%d %H:%M:%S
|
|
|
|
[formatter_complex]
|
|
format=%(asctime)s %(levelname)s %(module)s::%(funcName)s %(message)s
|