Compare commits

...

2 Commits
1.0 ... main

Author SHA1 Message Date
jens 3b59c9de34 Update 'templates/settings.py.j2' 2021-04-11 22:43:57 +00:00
jens c093d59488 Update 'defaults/main.yml' 2021-04-11 22:07:20 +00:00
2 changed files with 21 additions and 0 deletions

View File

@ -13,3 +13,4 @@ im_workers: 4
im_http_listen: 'localhost'
im_http_port: 80
im_admin_email: root@localhost
im_mail_server: 'localhost'

View File

@ -88,6 +88,26 @@ DATABASES = {
}
}
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': '{{im_home}}/im_debug.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
},
}
# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators