Skip to content

Commit

Permalink
Merge pull request #170 from open-dynaMIX/basic_logging_config
Browse files Browse the repository at this point in the history
feat(logging): add basic logging config
  • Loading branch information
winpat authored Aug 21, 2019
2 parents 9d489ea + 0df8e41 commit b5b36b9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions document_merge_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,17 @@ def get_unoconv_formats_local():
),
"TEST_REQUEST_DEFAULT_FORMAT": "json",
}

# Logging
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"level": "WARNING",
"filters": None,
"class": "logging.StreamHandler",
}
},
"loggers": {"django": {"handlers": ["console"], "level": "WARNING"}},
}

0 comments on commit b5b36b9

Please sign in to comment.