X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=oti%2Fevent-handler%2Fotihandler%2Fconfig.py;h=5c87f43f9eb714f6614d20f311c0ffd6fddbf0e5;hb=18512176d62ae211d97952027ca6a6dc59b50992;hp=d5149ccb17190f02e4882d4567a493aca1064367;hpb=7ca9a6e800a3512434fefffba1fc502e6fb5ac62;p=dcaegen2%2Fplatform.git 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 ' + \