[Mpuls-commits] r4773 - in base/trunk: . mpulsweb.egg-info

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 11 11:05:14 CET 2011


Author: torsten
Date: 2011-03-11 11:05:12 +0100 (Fri, 11 Mar 2011)
New Revision: 4773

Modified:
   base/trunk/ChangeLog
   base/trunk/development.ini
   base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl
Log:
Updated ini file


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-10 15:17:48 UTC (rev 4772)
+++ base/trunk/ChangeLog	2011-03-11 10:05:12 UTC (rev 4773)
@@ -1,3 +1,8 @@
+2011-03-11  Torsten Irländer  <torsten at minculator>
+
+	* mpulsweb.egg-info/paste_deploy_config.ini_tmpl: Updated default ini file
+	* development.ini: Updated development.ini
+
 2011-03-10  Roland Geider  <roland.geider at intevation.de>
 
 	* mpulsweb/templates/search/search.mako: issue1911: use wider colunmns

Modified: base/trunk/development.ini
===================================================================
--- base/trunk/development.ini	2011-03-10 15:17:48 UTC (rev 4772)
+++ base/trunk/development.ini	2011-03-11 10:05:12 UTC (rev 4773)
@@ -5,6 +5,7 @@
 #
 [DEFAULT]
 debug = True 
+#locale = 
 # Uncomment and replace with the address which should receive any error reports
 #email_to = you at yourdomain.com
 smtp_server = localhost
@@ -45,7 +46,7 @@
 # for connections to PostgeSQL database
 # db_database: %s will be replaced by certificate value
 #mpuls.db.host     = 127.0.0.1 
-mpuls.db.host     = justus.pult 
+mpuls.db.host     = localhost 
 mpuls.db.port     = 5432 
 # Define fallback name of the database if fetching name from
 # SSL_CLIENT_S_DN_CN in ssl certificte fails. 
@@ -56,7 +57,7 @@
 
 [server:main]
 use = egg:Paste#http
-host = 0.0.0.0
+host = 127.0.0.1 
 port = 5000
 #ssl_pem = *
 

Modified: base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl
===================================================================
--- base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl	2011-03-10 15:17:48 UTC (rev 4772)
+++ base/trunk/mpulsweb.egg-info/paste_deploy_config.ini_tmpl	2011-03-11 10:05:12 UTC (rev 4773)
@@ -5,6 +5,7 @@
 #
 [DEFAULT]
 debug = True 
+#locale = 
 # Uncomment and replace with the address which should receive any error reports
 #email_to = you at yourdomain.com
 smtp_server = localhost
@@ -55,7 +56,7 @@
 
 [server:main]
 use = egg:Paste#http
-host = 0.0.0.0
+host = 127.0.0.1 
 port = 5000
 #ssl_pem = *
 
@@ -86,7 +87,7 @@
 keys = root, mpulsweb
 
 [handlers]
-keys = console
+keys = console, file
 
 [formatters]
 keys = generic
@@ -106,6 +107,15 @@
 level = NOTSET
 formatter = generic
 
+[handler_file]
+class = logging.handlers.RotatingFileHandler
+# 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)
+level = NOTSET
+formatter = generic
+
+
 [formatter_generic]
 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
 datefmt = %H:%M:%S



More information about the Mpuls-commits mailing list