Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions emrg/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def _run_daemon() -> None:
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
datefmt="%H:%M:%S",
datefmt="%Y-%m-%d %H:%M:%S",
)
# Suppress noisy httpcore/httpx DEBUG logs (rant #24)
logging.getLogger("httpcore").setLevel(logging.WARNING)
Expand Down Expand Up @@ -434,7 +434,7 @@ def _run_client(init_auto_evolve: bool = False) -> None:
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
datefmt="%H:%M:%S",
datefmt="%Y-%m-%d %H:%M:%S",
handlers=[
RotatingFileHandler(
str(log_path), maxBytes=10 * 1024 * 1024, backupCount=3,
Expand Down
2 changes: 1 addition & 1 deletion emrg/client/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
datefmt="%H:%M:%S",
datefmt="%Y-%m-%d %H:%M:%S",
)
from emrg.config import ensure_config
from emrg.client.app import run_client
Expand Down
2 changes: 1 addition & 1 deletion emrg/server/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
datefmt="%H:%M:%S",
datefmt="%Y-%m-%d %H:%M:%S",
handlers=[
RotatingFileHandler(
str(_log_file), maxBytes=10 * 1024 * 1024, backupCount=3,
Expand Down
Loading