diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-25 12:47:41 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-25 12:47:41 +0100 |
commit | 81366a3270cb2138d84b64e92a433f5b462b12d5 (patch) | |
tree | c2ba69cb9b71e09091b54d40ca187c08890bdf75 | |
parent | 0403230131ea7260f760b827bfd86aca2bfc63aa (diff) | |
parent | 119e3b9c2920c1db504c198dc1f638783dd0e1ab (diff) | |
download | Ishtar-81366a3270cb2138d84b64e92a433f5b462b12d5.tar.bz2 Ishtar-81366a3270cb2138d84b64e92a433f5b462b12d5.zip |
Merge branch 'new-stable' into dev
-rw-r--r-- | example_project/settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 2825f717e..a7bcdf8f1 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -127,6 +127,8 @@ INSTALLED_APPS = [ #'debug_toolbar', ] +LOGFILE = '/var/log/django/ishtar.log' + LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': { @@ -205,6 +207,9 @@ if 'archaeological_files' in EXTRA_APPS: INSTALLED_APPS += EXTRA_APPS +if LOGFILE: + LOGGING['handlers']['logfile']['filename'] = LOGFILE + INTERNAL_IPS = ('127.0.0.1',) if 'JQUERY_URL' not in globals(): |