From 2a71ca25a84be68b24d41a70ba14d5223bb52aa0 Mon Sep 17 00:00:00 2001 From: "Philippe M. Chiasson" Date: Fri, 6 May 2011 12:06:31 -0400 Subject: [PATCH] Bug 655081 - Improve logformat r=tarek --- debug.ini | 4 ++-- development.ini | 4 ++-- grinder.ini | 4 ++-- gunicorn-gevent.ini | 4 ++-- production.ini | 4 ++-- profile.ini | 4 ++-- staging.ini | 4 ++-- test.ini | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/debug.ini b/debug.ini index a4dd3d4..1f2be12 100644 --- a/debug.ini +++ b/debug.ini @@ -191,5 +191,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/development.ini b/development.ini index 24ecc1f..ff0be9a 100644 --- a/development.ini +++ b/development.ini @@ -150,5 +150,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/grinder.ini b/grinder.ini index 61423c9..cf675fd 100644 --- a/grinder.ini +++ b/grinder.ini @@ -148,5 +148,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/gunicorn-gevent.ini b/gunicorn-gevent.ini index fa96d87..f427850 100644 --- a/gunicorn-gevent.ini +++ b/gunicorn-gevent.ini @@ -165,5 +165,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/production.ini b/production.ini index 1075c59..075c5d9 100644 --- a/production.ini +++ b/production.ini @@ -136,6 +136,6 @@ level = INFO formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/profile.ini b/profile.ini index a71282f..8407582 100644 --- a/profile.ini +++ b/profile.ini @@ -178,5 +178,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/staging.ini b/staging.ini index 8363e51..54f2651 100644 --- a/staging.ini +++ b/staging.ini @@ -147,5 +147,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S diff --git a/test.ini b/test.ini index 981ab14..edbb54d 100644 --- a/test.ini +++ b/test.ini @@ -161,5 +161,5 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S +format = [%(asctime)s.%(msecs)03d] [%(levelname)-5.5s] [%(name)s] [%(threadName)s] %(message)s +datefmt = %F %H:%M:%S