diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 5cce795..3e4686e 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -12,6 +12,7 @@ services: user: 'unit:root' volumes: - ./configuration:/etc/netbox/config:z,ro + - ./test-configuration/logging.py:/etc/netbox/config/logging.py:z,ro - ./reports:/etc/netbox/reports:z,ro - ./scripts:/etc/netbox/scripts:z,ro - netbox-media-files:/opt/netbox/netbox/media:z diff --git a/test-configuration/logging.py b/test-configuration/logging.py new file mode 100644 index 0000000..ab15e2a --- /dev/null +++ b/test-configuration/logging.py @@ -0,0 +1,4 @@ +LOGGING = { + 'version': 1, + 'disable_existing_loggers': True +}