Debug log moved to Home by default
...Vittusaatana...
This commit is contained in:
@@ -12,6 +12,7 @@ https://docs.djangoproject.com/en/1.9/ref/settings/
|
||||
|
||||
import os
|
||||
import logging
|
||||
from os.path import expanduser
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
@@ -126,6 +127,7 @@ GOOGLE_RECAPTCHA_SECRET_KEY = "YOUR-PRIVATE-KEY"
|
||||
#Logger level
|
||||
|
||||
LOGGERLEVEL = logging.ERROR
|
||||
LOGPATH = expanduser("~")+ "/debug.log"
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.9/topics/i18n/
|
||||
|
||||
Reference in New Issue
Block a user