Skip to content

Commit

Permalink
Add websockets debug level logs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
valentin-krasontovitsch authored and JHolba committed Aug 17, 2023
1 parent df16c45 commit a2d310c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ert/logging/logger.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -100,8 +106,8 @@ loggers:
subscript:
level: INFO
websockets:
level: WARN
handlers: [eefile]
level: DEBUG
handlers: [websocketsfile]
propagate: no
ert.job_queue:
level: DEBUG
Expand Down

0 comments on commit a2d310c

Please # to comment.