Changed to rotating log file handler.

Added logging description in settings.py
Updated .gitignore to ignore rotated log files.

Logging adapted from http://stackoverflow.com/questions/14354066/django-log-rotating-and-log-file-ownership
This commit is contained in:
Adarnof
2016-01-02 22:34:44 +00:00
parent 5f70e68cc2
commit 583be5a72e
2 changed files with 33 additions and 18 deletions

2
.gitignore vendored
View File

@@ -45,7 +45,7 @@ coverage.xml
*.pot
# Django stuff:
*.log
*.log*
# Sphinx documentation
docs/_build/