From a2d310c5cf6eaf20135718ac45b7b06df43e5e88 Mon Sep 17 00:00:00 2001 From: Valentin Krasontovitsch Date: Tue, 18 Jul 2023 14:17:28 +0200 Subject: [PATCH] Add websockets debug level logs The websockets logs can be helpful in debugging runs - they are wordy, even at an INFO level though. We set the level to DEBUG so we can get any and all information we need when necessary, and move them to their own file so as not to clutter other log files. --- src/ert/logging/logger.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ert/logging/logger.conf b/src/ert/logging/logger.conf index f5347a83b6c..51fadb0ca69 100644 --- a/src/ert/logging/logger.conf +++ b/src/ert/logging/logger.conf @@ -41,6 +41,12 @@ handlers: filename: ee-log.txt (): ert.logging.TimestampedFileHandler use_log_dir_from_env: true + websocketsfile: + level: DEBUG + formatter: simple_with_threading + filename: websockets-log.txt + (): ert.logging.TimestampedFileHandler + use_log_dir_from_env: true migration_handler: level: DEBUG formatter: simple @@ -100,8 +106,8 @@ loggers: subscript: level: INFO websockets: - level: WARN - handlers: [eefile] + level: DEBUG + handlers: [websocketsfile] propagate: no ert.job_queue: level: DEBUG