Skip to content

Commit

Permalink
Remove websocket DEBUG logging
Browse files Browse the repository at this point in the history
By going from logging DEBUG messages to INFO and above, we shave 95% off the log
size when doing the poly-example. Logging has been proven to be a bottleneck
so this change could actually improve perceived application speed.

Not opting to filter out INFO as well for the moment, meaning we will still log
whenever the connection is closed and reopened (which we don't want to happen
so it makes sense to log it).
  • Loading branch information
berland committed Jun 17, 2024
1 parent 90998f2 commit 03b296d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/logging/logger.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ handlers:
(): ert.logging.TimestampedFileHandler
use_log_dir_from_env: true
websocketsfile:
level: DEBUG
level: INFO
formatter: simple_with_threading
filename: websockets-log.txt
(): ert.logging.TimestampedFileHandler
Expand Down

0 comments on commit 03b296d

Please sign in to comment.