Skip to content

Commit eb44d40

Browse files
authored
Merge pull request #178 from fabianflanhardt/main
Fix homeassistant.log showing debug level logs by default
2 parents 6631f00 + fb9d492 commit eb44d40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

custom_components/jablotron80/const.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040
DEFAULT_CONFIGURATION_QUIETEN_EXPECTED_WARNINGS = False
4141
DEFAULT_CONFIGURATION_VERBOSE_CONNECTION_LOGGING = False
4242

43-
LOGGER.setLevel(logging.DEBUG)
43+
# Set default Log Level to Debug
44+
# LOGGER.setLevel(logging.DEBUG)
4445
handler = logging.StreamHandler(sys.stdout)
45-
handler.setLevel(logging.DEBUG)
46+
# handler.setLevel(logging.DEBUG)
4647
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
4748
handler.setFormatter(formatter)
4849
LOGGER.addHandler(handler)

0 commit comments

Comments
 (0)