[Mpuls-commits] r5185 - in base/trunk: . mpulsweb.egg-info
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 21 12:39:04 CEST 2011
Author: ludwig
Date: 2011-07-21 12:39:02 +0200 (Thu, 21 Jul 2011)
New Revision: 5185
Modified:
base/trunk/ChangeLog
base/trunk/development.ini
base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl
Log:
Changed the ini files to display the dbname in the log messages.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2011-07-20 14:19:46 UTC (rev 5184)
+++ base/trunk/ChangeLog 2011-07-21 10:39:02 UTC (rev 5185)
@@ -1,3 +1,9 @@
+2011-07-21 Ludwig Reiter <ludwig.reiter at intevation.de>
+
+ * mpulsweb.egg-info/paste_deploy_config.ini_tmpl,
+ development.ini:
+ Changed the ini files to display the dbname in the log messages.
+
2011-07-20 Bernhard Herzog <bh at intevation.de>
* mpulsweb/lib/base.py (BaseController.__before__): Store the
Modified: base/trunk/development.ini
===================================================================
--- base/trunk/development.ini 2011-07-20 14:19:46 UTC (rev 5184)
+++ base/trunk/development.ini 2011-07-21 10:39:02 UTC (rev 5185)
@@ -105,21 +105,21 @@
qualname = mpulsweb
[handler_console]
-class = StreamHandler
-args = (sys.stderr,)
+class = mpulsweb.lib.logfilter.filtered_handler
+args = (StreamHandler, sys.stderr)
level = NOTSET
formatter = generic
[handler_file]
-class = logging.handlers.RotatingFileHandler
+class = mpulsweb.lib.logfilter.filtered_handler
# Third parameter in args is maximum size of the log file in bytes.
# Fourth parameter specifies the number of old files to keep.
-args=('mpuls.log', 'w', 1048576, 5)
+args = (logging.handlers.RotatingFileHandler, 'mpuls.log', 'w', 1048576, 5)
level = NOTSET
formatter = generic
[formatter_generic]
-format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(dbname)s][%(name)s] %(message)s
datefmt = %Y-%m-%d %H:%M:%S
Modified: base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl
===================================================================
--- base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl 2011-07-20 14:19:46 UTC (rev 5184)
+++ base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl 2011-07-21 10:39:02 UTC (rev 5185)
@@ -114,8 +114,8 @@
qualname = %(mpuls.app.instance)s
[handler_console]
-class = StreamHandler
-args = (sys.stderr,)
+class = mpulsweb.lib.logfilter.filtered_handler
+args = (StreamHandler, sys.stderr)
level = NOTSET
formatter = generic
@@ -126,16 +126,16 @@
formatter = message
[handler_file]
-class = logging.handlers.RotatingFileHandler
+class = mpulsweb.lib.logfilter.filtered_handler
# Third parameter in args is maximum size of the log file in bytes.
# Fourth parameter specifies the number of old files to keep.
-args=('mpuls.log', 'w', 1048576, 5)
+args=(logging.handlers.RotatingFileHandler,'mpuls.log', 'w', 1048576, 5)
level = NOTSET
formatter = generic
[formatter_generic]
-format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(dbname)s][%(name)s] %(message)s
datefmt = %H:%M:%S
[formatter_message]
More information about the Mpuls-commits
mailing list