[ckan-changes] commit/ckan: thejimmyg: [packaging] fixing the logging configuration

Bitbucket commits-noreply at bitbucket.org
Thu May 12 13:24:02 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/7e5a1f557294/
changeset:   r3077:7e5a1f557294
branch:      release-v1.4
user:        thejimmyg
date:        2011-05-12 15:23:45
summary:     [packaging] fixing the logging configuration
affected #:  1 file (3 bytes)

--- a/ckan/config/deployment.ini_tmpl	Tue May 10 15:01:05 2011 +0100
+++ b/ckan/config/deployment.ini_tmpl	Thu May 12 14:23:45 2011 +0100
@@ -183,7 +183,7 @@
 handlers = console, file
 
 [logger_ckan]
-level = DEBUG
+level = INFO
 handlers = console, file
 qualname = ckan
 propagate = 0
@@ -201,10 +201,10 @@
 formatter = generic
 
 [handler_file]
-class = handlers.RotatingFileHandler
+class = logging.handlers.RotatingFileHandler
 formatter = generic
 level = NOTSET
-args = ('%(here)s/ckan.log', 'a', 2000000, 9)
+args = ('%(here)s/ckan.log', 'a', 2e7, 9)
 
 [formatter_generic]
 format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list