From b317cd7e3684bf7c034ad0a1bb208d55fb87b164 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 24 Apr 2024 05:17:00 +0300 Subject: 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. --- wsgi.py | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 wsgi.py (limited to 'wsgi.py') 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() -- cgit v1.2.3