diff --git a/emrg/__main__.py b/emrg/__main__.py index b14678a3..0f6becc8 100644 --- a/emrg/__main__.py +++ b/emrg/__main__.py @@ -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) @@ -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, diff --git a/emrg/client/__main__.py b/emrg/client/__main__.py index 05f38ab5..e67faf72 100644 --- a/emrg/client/__main__.py +++ b/emrg/client/__main__.py @@ -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 diff --git a/emrg/server/__main__.py b/emrg/server/__main__.py index f6229a89..ae40eff1 100644 --- a/emrg/server/__main__.py +++ b/emrg/server/__main__.py @@ -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,