Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonSohoel committed Feb 11, 2025
1 parent a25d3cd commit dd9be56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ert/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def formatException(
return ""


def suppresse_logs(logs_to_suppress: list[str]) -> Callable[[logging.LogRecord], bool]:
def suppress_logs(logs_to_suppress: list[str]) -> Callable[[logging.LogRecord], bool]:
"""Suppresses logs from loggers listed in logs_to_suppress"""

def filter(record: logging.LogRecord) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion src/ert/logging/storage_log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ formatters:
format: '%(message)s'
filters:
suppress_not_user_relevant:
(): ert.logging.suppresse_logs
(): ert.logging.suppress_logs
logs_to_suppress: [azure.monitor]
handlers:
default:
Expand Down

0 comments on commit dd9be56

Please sign in to comment.