From 97ea15e978344c05c7257432b5fd340e66f6b93c Mon Sep 17 00:00:00 2001 From: Nick Niehoff Date: Fri, 30 Oct 2020 06:32:12 -0600 Subject: [PATCH] Removing logfile variable --- docs/installation/6-ldap.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/installation/6-ldap.md b/docs/installation/6-ldap.md index 47093b2c1..b7d525413 100644 --- a/docs/installation/6-ldap.md +++ b/docs/installation/6-ldap.md @@ -146,15 +146,14 @@ AUTH_LDAP_CACHE_TIMEOUT = 3600 For troubleshooting LDAP user/group queries, add or merge the following [logging](/configuration/optional-settings.md#logging) configuration to `configuration.py`: ```python -logfile = "/opt/netbox/logs/django-ldap-debug.log" LOGGING = { - "version": 1, - "disable_existing_loggers": False, - "handlers": { + 'version': 1, + 'disable_existing_loggers': False, + 'handlers': { 'netbox_auth_log': { 'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', - 'filename': logfile, + 'filename': '/opt/netbox/logs/django-ldap-debug.log', 'maxBytes': 1024 * 500, 'backupCount': 5, },