diff options
author | 2019-01-04 23:20:00 +0100 | |
---|---|---|
committer | 2019-01-04 23:22:36 +0100 | |
commit | 76d7e392f8cd56e695c87542176b9f404b369071 (patch) | |
tree | 9450b9d0bdd66a1b46315791fc43c12fb439525f /pysite | |
parent | Document configuration environment variables. (diff) |
Default to `INFO` log level.
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/settings.py b/pysite/settings.py index 16473280..b27e2a41 100644 --- a/pysite/settings.py +++ b/pysite/settings.py @@ -216,7 +216,7 @@ LOGGING = { # use `DEBUG` if we're running in debug mode but not # testing. Use `ERROR` if we're running tests, else # default to using `WARN`. - 'DEBUG' + 'INFO' if DEBUG and 'test' not in sys.argv else ( 'ERROR' |