Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nurbal committed Nov 5, 2024
1 parent 1a0a280 commit 5cc2451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sarc/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ def setupLogging():
"ERROR": logging.ERROR,
"CRITICAL": logging.CRITICAL,
}
log_level = logging.WARNING # default log level
log_level = logging.WARNING # default log level
if config().logging:
log_level = logging_levels.get(config().logging.log_level, logging.WARNING)

if (config().loki):
if config().loki:
logger_provider = LoggerProvider(
resource=Resource.create(
{
Expand Down

0 comments on commit 5cc2451

Please sign in to comment.