aboutsummaryrefslogtreecommitdiff
path: root/wsgi.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-24 05:17:00 +0300
committerFrederick Muriuki Muriithi2024-04-24 05:17:00 +0300
commitb317cd7e3684bf7c034ad0a1bb208d55fb87b164 (patch)
tree1f57f52bfa9d8eefeb7dd26b53dd812972f441e9 /wsgi.py
parentb4278a0dfd1aaa1c95cc811aa15f3cf9ea4a54bc (diff)
downloadgn-auth-b317cd7e3684bf7c034ad0a1bb208d55fb87b164.tar.gz
Setup logging: Use gunicorn's loggers where appropriate
If the application is run under GUnicorn, then use the gunicorn loggers otherwise, use some default development loggers. This can be extended to support other WSGI servers down the line if ever necessary.
Diffstat (limited to 'wsgi.py')
-rw-r--r--wsgi.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/wsgi.py b/wsgi.py
deleted file mode 100644
index c44cb8a..0000000
--- a/wsgi.py
+++ /dev/null
@@ -1,7 +0,0 @@
-"""WSGI application entry-point."""
-from gn_auth import create_app
-
-app = create_app()
-
-if __name__ == "__main__":
- app.run()