Browse Source

Closes #8210: Establish netbox/local/ as a path for local resources

jeremystretch 4 years ago
parent
commit
7b0dff88ae
3 changed files with 3 additions and 1 deletions
  1. 1 0
      .gitignore
  2. 1 1
      docs/installation/6-ldap.md
  3. 1 0
      docs/release-notes/version-3.1.md

+ 1 - 0
.gitignore

@@ -8,6 +8,7 @@ yarn-error.log*
 !/netbox/project-static/docs/.info
 !/netbox/project-static/docs/.info
 /netbox/netbox/configuration.py
 /netbox/netbox/configuration.py
 /netbox/netbox/ldap_config.py
 /netbox/netbox/ldap_config.py
+/netbox/local/*
 /netbox/reports/*
 /netbox/reports/*
 !/netbox/reports/__init__.py
 !/netbox/reports/__init__.py
 /netbox/scripts/*
 /netbox/scripts/*

+ 1 - 1
docs/installation/6-ldap.md

@@ -152,7 +152,7 @@ LOGGING = {
         'netbox_auth_log': {
         'netbox_auth_log': {
             'level': 'DEBUG',
             'level': 'DEBUG',
             'class': 'logging.handlers.RotatingFileHandler',
             'class': 'logging.handlers.RotatingFileHandler',
-            'filename': '/opt/netbox/logs/django-ldap-debug.log',
+            'filename': '/opt/netbox/local/logs/django-ldap-debug.log',
             'maxBytes': 1024 * 500,
             'maxBytes': 1024 * 500,
             'backupCount': 5,
             'backupCount': 5,
         },
         },

+ 1 - 0
docs/release-notes/version-3.1.md

@@ -6,6 +6,7 @@
 
 
 * [#8192](https://github.com/netbox-community/netbox/issues/8192) - Add "add prefix" button to aggregate child prefixes view
 * [#8192](https://github.com/netbox-community/netbox/issues/8192) - Add "add prefix" button to aggregate child prefixes view
 * [#8194](https://github.com/netbox-community/netbox/issues/8194) - Enable bulk user assignment to groups under admin UI
 * [#8194](https://github.com/netbox-community/netbox/issues/8194) - Enable bulk user assignment to groups under admin UI
+* [#8210](https://github.com/netbox-community/netbox/issues/8210) - Establish `netbox/local/` as a path for local resources
 
 
 ### Bug Fixes
 ### Bug Fixes