summaryrefslogtreecommitdiffstats
path: root/config/logging.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/logging.conf')
-rwxr-xr-xconfig/logging.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/logging.conf b/config/logging.conf
new file mode 100755
index 00000000..b1ca30fd
--- /dev/null
+++ b/config/logging.conf
@@ -0,0 +1,21 @@
+[loggers]
+keys=root
+
+[handlers]
+keys=file_handler
+
+[formatters]
+keys=formatter
+
+[logger_root]
+level=DEBUG
+handlers=file_handler
+
+[handler_file_handler]
+class=FileHandler
+level=DEBUG
+formatter=formatter
+args=("/tmp/vicn.log", "w")
+
+[formatter_formatter]
+format=%(asctime)s %(levelname)8s %(name)25s.%(funcName)25s %(message)20s