Skip to content

Commit

Permalink
Use logging.Formatter.default_time_format
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Oct 31, 2023
1 parent bd5b5db commit 813d320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy_scraper_checker/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def configure_logging(console: Console, *, debug: bool) -> None:
logging.basicConfig(
level=logging.DEBUG if debug else logging.INFO,
format="%(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
datefmt=logging.Formatter.default_time_format,
handlers=(
RichHandler(
console=console,
Expand Down

0 comments on commit 813d320

Please sign in to comment.