1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-07 22:02:22 +01:00

Suppress full config output of "esphome config" when -q option is used. (#5852)

This commit is contained in:
Clyde Stubbs
2023-12-05 10:52:02 +11:00
committed by GitHub
parent b8fe4f8d56
commit df5394d51c
3 changed files with 5 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ def setup_log(
CORE.verbose = True
elif quiet:
log_level = logging.CRITICAL
CORE.quiet = True
else:
log_level = logging.INFO
logging.basicConfig(level=log_level)