fixed loglevel configuration
This commit is contained in:
parent
0aaf31a028
commit
3af79daa0a
3 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ COPY --from=builder --chown=500:500 /app/env /app/env
|
|||
COPY --chown=root:root --chmod=0755 /docker/entrypoint.sh /usr/bin/entrypoint
|
||||
|
||||
ENV C3NAV_DEBUG="" \
|
||||
C3NAV_LOGLEVEL="info" \
|
||||
C3NAV_LOGLEVEL="INFO" \
|
||||
C3NAV_DATA_DIR="/data" \
|
||||
C3NAV_AUTOMIGRATE="yes" \
|
||||
MPLBACKEND="agg" \
|
||||
|
|
|
@ -56,7 +56,7 @@ COPY --link --chown=500:500 /src /app
|
|||
COPY --from=builder --chown=500:500 /app/env /app/env
|
||||
|
||||
ENV C3NAV_DEBUG="" \
|
||||
C3NAV_LOGLEVEL="info" \
|
||||
C3NAV_LOGLEVEL="INFO" \
|
||||
C3NAV_DATA_DIR="/data" \
|
||||
C3NAV_RELOAD_INTERVAL="60" \
|
||||
UWSGI_WORKERS="8"
|
||||
|
|
|
@ -476,7 +476,7 @@ MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
|
|||
|
||||
SILENCED_SYSTEM_CHECKS = ['debug_toolbar.W006']
|
||||
|
||||
loglevel = env.str('C3NAV_LOGLEVEL', default='DEBUG' if DEBUG else 'INFO')
|
||||
loglevel = env.str('C3NAV_LOGLEVEL', default='DEBUG' if DEBUG else 'INFO').upper()
|
||||
|
||||
LOGGING = {
|
||||
'version': 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue