1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Only show timestamp for dashboard access logs (#2540)

This commit is contained in:
Otto Winter
2021-10-17 21:01:51 +02:00
committed by GitHub
parent 12fce7a08d
commit 5425e45851
2 changed files with 16 additions and 5 deletions

View File

@@ -758,7 +758,12 @@ def run_esphome(argv):
args = parse_args(argv)
CORE.dashboard = args.dashboard
setup_log(args.verbose, args.quiet)
setup_log(
args.verbose,
args.quiet,
# Show timestamp for dashboard access logs
args.command == "dashboard",
)
if args.deprecated_argv_suggestion is not None and args.command != "vscode":
_LOGGER.warning(
"Calling ESPHome with the configuration before the command is deprecated "