Commit 9a0a5da4 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test] Make test logging verbosity configurable with EV

Use the VERBOSE_TEST_LOGGING environment variable to
enable verbose logging for tests.
parent 975f30e7
Pipeline #24481 failed with stages
in 26 minutes and 8 seconds
......@@ -57,7 +57,9 @@ network_name = os.environ.get('DOCKER_TEST_NETWORK', 'beat_core_test_network')
network = None
# Setup the logging system
if False:
VERBOSE_TEST_LOGGING = os.environ.get('VERBOSE_TEST_LOGGING', False) == 'True'
if VERBOSE_TEST_LOGGING:
formatter = logging.Formatter(fmt="[%(asctime)s - TESTS - "
"%(name)s] %(levelname)s: %(message)s",
datefmt="%d/%b/%Y %H:%M:%S")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment