diff --git a/docker/gunicorn/logging.conf b/docker/gunicorn/logging.conf index e16918592..936958657 100644 --- a/docker/gunicorn/logging.conf +++ b/docker/gunicorn/logging.conf @@ -34,5 +34,5 @@ args=(sys.stdout,) # Formatter for Gunicorn logs [formatter_gunicorn_format] -format=INFO: [RomM][gunicorn][%(asctime)s] %(message)s +format=%(levelname)s: [RomM][gunicorn][%(asctime)s] %(message)s datefmt=%Y-%m-%d %H:%M:%S diff --git a/docker/init_scripts/init b/docker/init_scripts/init index f6ea88f6f..2d8300d7a 100755 --- a/docker/init_scripts/init +++ b/docker/init_scripts/init @@ -93,7 +93,8 @@ start_bin_gunicorn() { # cleanup potentially leftover socket rm /tmp/gunicorn.sock -f - # Generate gunicorn logging config with the configured log level + # Generate gunicorn logging config with the configured log level. + # Note: this file is auto-generated at startup; do not modify /etc/gunicorn/logging.conf directly. cat >/etc/gunicorn/logging.conf <