summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/logging.conf21
-rw-r--r--config/lxd_client_cert/.gitignore1
-rw-r--r--config/ssh_client_cert/.gitignore1
3 files changed, 23 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
diff --git a/config/lxd_client_cert/.gitignore b/config/lxd_client_cert/.gitignore
new file mode 100644
index 00000000..f935021a
--- /dev/null
+++ b/config/lxd_client_cert/.gitignore
@@ -0,0 +1 @@
+!.gitignore
diff --git a/config/ssh_client_cert/.gitignore b/config/ssh_client_cert/.gitignore
new file mode 100644
index 00000000..f935021a
--- /dev/null
+++ b/config/ssh_client_cert/.gitignore
@@ -0,0 +1 @@
+!.gitignore