summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/otihandler/config.py
diff options
context:
space:
mode:
authorSchmalzried, Terry (ts862m) <ts862m@att.com>2020-02-28 12:20:08 -0500
committerSchmalzried, Terry (ts862m) <ts862m@att.com>2020-03-04 18:50:37 -0500
commit2f2980df45d2d08c7a48c4a744bd893828f725f9 (patch)
treed97a7ef1fd66f702a37757bef61491122141d3a8 /oti/event-handler/otihandler/config.py
parent38808a23e76deb763a39f457a15b2ef56282b609 (diff)
Initial unit test coverage
Issue-ID: DCAEGEN2-1922 Change-Id: Ibd50c9d87583244c0e82a9f050e0e795cde72f27 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
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 ' + \