summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/otihandler/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'oti/event-handler/otihandler/config.py')
-rw-r--r--oti/event-handler/otihandler/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/oti/event-handler/otihandler/config.py b/oti/event-handler/otihandler/config.py
index d5149cc..5c87f43 100644
--- a/oti/event-handler/otihandler/config.py
+++ b/oti/event-handler/otihandler/config.py
@@ -24,6 +24,7 @@ import os
from otihandler.consul_client import ConsulClient
+os.makedirs('logs', exist_ok=True)
logging.basicConfig(
filename='logs/oti_handler.log', \
format='%(asctime)s.%(msecs)03d %(levelname)+8s ' + \