mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-23 12:15:13 +01:00
Increase cli tool logging timestamps to include nanoseconds (#637)
This commit is contained in:
parent
634c739048
commit
e70cbb8135
@ -24,7 +24,7 @@ async def main(argv: list[str]) -> None:
|
||||
args = parser.parse_args(argv[1:])
|
||||
|
||||
logging.basicConfig(
|
||||
format="%(asctime)s %(levelname)-8s %(message)s",
|
||||
format="%(asctime)s.%(msecs)03d %(levelname)-8s %(message)s",
|
||||
level=logging.DEBUG if args.verbose else logging.INFO,
|
||||
datefmt="%Y-%m-%d %H:%M:%S",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user