From 15a469dc40b0e47f5ad9f2ecf37610001977ec6f Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 6 Jul 2009 12:44:42 +0000 Subject: [PATCH] Add timestamp and log level in log line format string. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@796 71dcc9de-d417-0410-9af5-da40c76e7ee4 --- neo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/__init__.py b/neo/__init__.py index 4aa49f78..033fbdb1 100644 --- a/neo/__init__.py +++ b/neo/__init__.py @@ -1 +1 @@ -DEFAULT_LOG_FORMAT = '[%(module)12s:%(lineno)3d] %(message)s' +DEFAULT_LOG_FORMAT = '%(asctime)s [%(module)12s:%(lineno)3d] %(levelname)8s: %(message)s' -- 2.30.9