removed the usage of logzero, added a formal logging configuration file using json

This commit is contained in:
Blake J. Harnden 2018-01-03 10:53:34 -08:00
parent 59e6b6630a
commit 742ad0e3a2
3 changed files with 33 additions and 8 deletions

20
daemon/data/logging.conf Normal file
View file

@ -0,0 +1,20 @@
{
"version": 1,
"handlers": {
"console": {
"class": "logging.StreamHandler",
"formatter": "default",
"level": "DEBUG",
"stream": "ext://sys.stdout"
}
},
"formatters": {
"default": {
"format": "%(asctime)s - %(levelname)s - %(module)s:%(funcName)s - %(message)s"
}
},
"root": {
"level": "DEBUG",
"handlers": ["console"]
}
}