Skip to content

Commit

Permalink
feat(logging): added LDAP auth config logging (#120)
Browse files Browse the repository at this point in the history
Add debug logging into the django_ldap official package settings for production.
  • Loading branch information
Andres Galindo authored Apr 13, 2020
1 parent b01666e commit 420f7f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rootfs/api/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@
'filters': ['require_debug_true'],
'propagate': True,
},
'django_auth_ldap': {
'handlers': ['console'],
'level': 'DEBUG',
'filters': ['require_debug_true'],
'propagate': False,
},
'api': {
'handlers': ['console'],
'propagate': True,
Expand Down

0 comments on commit 420f7f9

Please sign in to comment.