Skip to content

Commit

Permalink
Disable access logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Feb 23, 2024
1 parent dff0ed1 commit 39089ad
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions acoustid/gunicorn_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
"qualname": "gunicorn.error",
},
"gunicorn.access": {
"level": "INFO",
"handlers": ["console"],
"level": "ERROR",
"handlers": ["null"],
"propagate": False,
"qualname": "gunicorn.access",
},
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"formatter": "generic",
"stream": "ext://sys.stdout",
"null": {
"class": "logging.NullHandler",
},
"error_console": {
"class": "logging.StreamHandler",
Expand All @@ -32,10 +30,5 @@
"json": {
"class": "acoustid.logging.JsonLogFormatter",
},
"generic": {
"format": "%(asctime)s [%(process)d] [%(levelname)s] %(message)s",
"datefmt": "[%Y-%m-%d %H:%M:%S %z]",
"class": "logging.Formatter",
},
},
}

0 comments on commit 39089ad

Please sign in to comment.