Skip to content

Commit

Permalink
NOLOGGING functionallity
Browse files Browse the repository at this point in the history
  • Loading branch information
luisza committed May 23, 2021
1 parent 21e8166 commit 3f77b2d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/dfva/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,11 @@
CELERY_ACCEPT_CONTENT = ['json']
CELERY_RESULT_BACKEND = 'django-db'

#from .graylog import *
from .locallog import *
NOLOGGING = os.getenv('NOLOGGING', 'False') == 'True'

if not NOLOGGING:
#from .graylog import *
from .locallog import *

from celery.schedules import crontab

Expand Down

0 comments on commit 3f77b2d

Please sign in to comment.