summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/otihandler/config.py
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-03-05 05:41:53 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-05 05:41:53 +0000
commit2b2aa9977411519081fcab8ce4d1c37d3d9ee1d4 (patch)
tree635bdc444eb2f8452545d387f46f9bcf7926d602 /oti/event-handler/otihandler/config.py
parentff35e66284400a0d65302b77374826faebd54925 (diff)
parent2f2980df45d2d08c7a48c4a744bd893828f725f9 (diff)
Merge "Initial unit test coverage"
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 ' + \