From 5f1372f09f56c90857631cb03818b113fa86fd0a Mon Sep 17 00:00:00 2001 From: defausti <34766744+defausti@users.noreply.github.com> Date: Fri, 11 Feb 2022 17:49:39 +0100 Subject: [PATCH] logging file --- cosmo-backend/python-server/logging.conf | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cosmo-backend/python-server/logging.conf diff --git a/cosmo-backend/python-server/logging.conf b/cosmo-backend/python-server/logging.conf new file mode 100644 index 0000000..d8c9ec0 --- /dev/null +++ b/cosmo-backend/python-server/logging.conf @@ -0,0 +1,27 @@ +[loggers] +keys=root,cosmoLog + +[handlers] +keys=consoleHandler + +[formatters] +keys=simpleFormatter + +[logger_root] +level=DEBUG +handlers=consoleHandler + +[logger_cosmoLog] +level=DEBUG +handlers=consoleHandler +qualname=cosmoLog +propagate=0 + +[handler_consoleHandler] +class=StreamHandler +level=DEBUG +formatter=simpleFormatter +args=(sys.stdout,) + +[formatter_simpleFormatter] +format=%(asctime)s - %(name)s - %(levelname)s - %(message)s \ No newline at end of file