We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caf82de commit a1ae206Copy full SHA for a1ae206
1 file changed
netbox/netbox/configuration.py
@@ -115,7 +115,21 @@
115
116
# Enable custom logging. Please see the Django documentation for detailed guidance on configuring custom logs:
117
# https://docs.djangoproject.com/en/stable/topics/logging/
118
-LOGGING = {}
+LOGGING = {
119
+ 'version': 1,
120
+ 'disable_existing_loggers': False,
121
+ 'handlers': {
122
+ 'console': {
123
+ 'class': 'logging.StreamHandler',
124
+ },
125
126
+ 'loggers': {
127
+ 'netbox.webhooks': {
128
+ 'handlers': ['console'],
129
+ 'level': 'INFO',
130
131
132
+}
133
134
# Automatically reset the lifetime of a valid session upon each authenticated request. Enables users to remain
135
# authenticated to NetBox indefinitely.
0 commit comments