aboutsummaryrefslogtreecommitdiffstats
path: root/app/app/main.py
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2018-07-05 17:19:28 -0400
committerTommy Carpenter <tommy@research.att.com>2018-07-05 17:22:04 -0400
commite98e967740e58cf429b76b187828e3e0625215a5 (patch)
treea4bc124dc78ec624136cd5b4cb4ff4c0a45de039 /app/app/main.py
parent0d2fdb1d8bd120c2966365f0d90e63c35951e667 (diff)
Bugfixes, add EELF error log func
Change-Id: I159c9e663e8f17871862bb3ba42d8ea76fc2c05c Issue-ID: DCAEGEN2-581 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'app/app/main.py')
-rwxr-xr-xapp/app/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/app/main.py b/app/app/main.py
index 6cedc4d..dd71ccf 100755
--- a/app/app/main.py
+++ b/app/app/main.py
@@ -19,11 +19,11 @@
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
import connexion
-from config_binding_service.logging import create_logger
+from config_binding_service.logging import create_loggers
# Entrypoint When in uwsgi
# This create logger call used to be in the main block, but when moving to NGINX+uwsgi, this had to change. See https://hub.docker.com/r/tiangolo/uwsgi-nginx-flask/
-create_logger()
+create_loggers()
app = connexion.App(__name__, specification_dir='.')
app.add_api('swagger.yaml', arguments={'title': 'Config Binding Service'})