Skip to content

Commit

Permalink
feat: Really make these silent. This is terible solution, but works f…
Browse files Browse the repository at this point in the history
…or me for now
  • Loading branch information
jhutar committed Jan 5, 2024
1 parent f727a3f commit 6fd9e1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/opl/skelet.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ def setup_logger(app_name, stderr_log_lvl):

# Silence loggers of some chatty libraries we use
urllib_logger = logging.getLogger("urllib3.connectionpool")
urllib_logger.setLevel(stderr_log_lvl)
urllib_logger.setLevel(logging.WARNING)
selenium_logger = logging.getLogger("selenium.webdriver.remote.remote_connection")
selenium_logger.setLevel(stderr_log_lvl)
selenium_logger.setLevel(logging.WARNING)
kafka_logger = logging.getLogger("kafka")
kafka_logger.setLevel(stderr_log_lvl)
kafka_logger.setLevel(logging.WARNING)

# Add stderr handler, with provided level
console_handler = logging.StreamHandler()
Expand Down

0 comments on commit 6fd9e1f

Please sign in to comment.