From da412e3bdb62bc1726533f59667e4712b39e980d Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Wed, 31 Aug 2022 14:05:34 +0200 Subject: [PATCH] Removed unnecessary logging from tests --- docker-compose.test.yml | 1 + test-configuration/logging.py | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 test-configuration/logging.py 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 +}