Skip to content

Commit

Permalink
Simplify logging configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreso committed Aug 16, 2024
1 parent 6d8c9e4 commit d37f3bd
Showing 1 changed file with 4 additions and 96 deletions.
100 changes: 4 additions & 96 deletions src/ert/logging/logger.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,52 +13,6 @@ handlers:
filename: ert-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
asyncio_file:
level: DEBUG
formatter: simple_with_threading
filename: asyncio-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
scheduler_file:
level: DEBUG
formatter: simple_with_threading
filename: scheduler-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
event_log_file:
level: DEBUG
formatter: simple_with_threading
filename: event-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
apifile:
level: DEBUG
formatter: simple
filename: api-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
eefile:
level: DEBUG
formatter: simple_with_threading
filename: ee-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
websocketsfile:
level: INFO
formatter: simple_with_threading
filename: websockets-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
migration_handler:
level: DEBUG
formatter: simple
filename: migration-log.txt
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
stream:
class: logging.StreamHandler
level: DEBUG
formatter: simple_with_threading
terminal:
level: INFO
formatter: terminal
Expand All @@ -67,32 +21,11 @@ handlers:
loggers:
asyncio:
level: DEBUG
handlers: [asyncio_file]
propagate: no
azure.core:
level: WARNING
ert.shared.storage:
level: DEBUG
handlers: [apifile]
propagate: yes
ert.event_log:
level: DEBUG
handlers: [event_log_file]
propagate: no
ert.shared.status:
level: DEBUG
handlers: [file]
propagate: yes
ert.plugins:
level: DEBUG
propagate: yes
ert.ensemble_evaluator:
level: DEBUG
handlers: [eefile]
propagate: no
ert.storage.migration:
level: INFO
handlers: [terminal, migration_handler]
level: DEBUG
handlers: [terminal]
propagate: yes
h5py:
level: INFO
Expand All @@ -103,36 +36,11 @@ loggers:
subscript:
level: INFO
websockets:
level: DEBUG
handlers: [websocketsfile]
propagate: no
ert.analysis:
level: DEBUG
propagate: yes
ert.config:
level: DEBUG
propagate: yes
ert.enkf_main:
level: DEBUG
propagate: yes
ert.run_arg:
level: INFO
propagate: yes
ert.run_context:
level: INFO
propagate: yes
ert.substitution_list:
level: INFO
propagate: yes
ert.callbacks:
level: DEBUG
propagate: yes
ert.scheduler:
level: DEBUG
handlers: [scheduler_file]
propagate: yes


root:
level: DEBUG
handlers: [file]

disable_existing_loggers: False

0 comments on commit d37f3bd

Please sign in to comment.