diff --git a/infra/scripts/start.sh b/infra/scripts/start.sh index 3ca7cce..204016c 100755 --- a/infra/scripts/start.sh +++ b/infra/scripts/start.sh @@ -5,4 +5,4 @@ python manage.py makemigrations --noinput python manage.py migrate --noinput python manage.py init_user_organization -gunicorn --env DJANGO_SETTINGS_MODULE=promptsmith.settings_production promptsmith.wsgi:application --bind 0.0.0.0:8000 --workers 2 --log-level=debug +gunicorn --env DJANGO_SETTINGS_MODULE=promptsmith.settings_production promptsmith.wsgi:application --bind 0.0.0.0:8000 --workers 2 --log-level=info diff --git a/promptsmith/settings.py b/promptsmith/settings.py index 7cd0fad..85f1972 100644 --- a/promptsmith/settings.py +++ b/promptsmith/settings.py @@ -49,10 +49,10 @@ FRONTEND_DOMAIN = os.getenv('FRONTEND_DOMAIN', 'localhost') logging.info("load settings") -logging.info("DEBUG: {}".format(DEBUG)) -logging.info("RUNNING_DEVELOPMENT_SERVER: {}".format(RUNNING_DEVELOPMENT_SERVER)) -logging.info("SITE_DOMAIN: {}".format(SITE_DOMAIN)) -logging.info("FRONTEND_DOMAIN: {}".format(FRONTEND_DOMAIN)) +print("DEBUG: {}".format(DEBUG)) +print("RUNNING_DEVELOPMENT_SERVER: {}".format(RUNNING_DEVELOPMENT_SERVER)) +print("SITE_DOMAIN: {}".format(SITE_DOMAIN)) +print("FRONTEND_DOMAIN: {}".format(FRONTEND_DOMAIN)) ALLOWED_HOSTS = [ 'localhost', diff --git a/promptsmith/settings_debug.py b/promptsmith/settings_debug.py index f07d0f7..4bb7cf3 100644 --- a/promptsmith/settings_debug.py +++ b/promptsmith/settings_debug.py @@ -3,4 +3,4 @@ DEBUG = True -logging.info("load debug settings") +print("load debug settings") diff --git a/promptsmith/settings_production.py b/promptsmith/settings_production.py index b395d5c..c6f9b25 100644 --- a/promptsmith/settings_production.py +++ b/promptsmith/settings_production.py @@ -57,4 +57,4 @@ } } -logging.info("load production settings") +print("load production settings")