[Osaas-commits] r20 - in trunk: . server/osaas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 28 20:42:23 CEST 2007


Author: bh
Date: 2007-08-28 20:42:22 +0200 (Tue, 28 Aug 2007)
New Revision: 20

Modified:
   trunk/ChangeLog
   trunk/server/osaas/run.py
Log:
* server/osaas/run.py (OSAASServerProgram.instantiate_server): Use
the logger httpserver.error.dbbackend instead of dbbackend


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-08-28 18:08:34 UTC (rev 19)
+++ trunk/ChangeLog	2007-08-28 18:42:22 UTC (rev 20)
@@ -1,5 +1,10 @@
 2007-08-28  Bernhard Herzog  <bh at intevation.de>
 
+	* server/osaas/run.py (OSAASServerProgram.instantiate_server): Use
+	the logger httpserver.error.dbbackend instead of dbbackend
+
+2007-08-28  Bernhard Herzog  <bh at intevation.de>
+
 	* server/osaas/run.py (OSAASServerProgram.instantiate_server):
 	Create a logger for the database backend
 

Modified: trunk/server/osaas/run.py
===================================================================
--- trunk/server/osaas/run.py	2007-08-28 18:08:34 UTC (rev 19)
+++ trunk/server/osaas/run.py	2007-08-28 18:42:22 UTC (rev 20)
@@ -40,7 +40,8 @@
 
     def instantiate_server(self, server_class, server_address, opts, **kw):
         dbbackend = DBBackend((opts.db_user, opts.db_password, opts.db_dsn),
-                              opts.db_rules, logging.getLogger("dbbackend"))
+                              opts.db_rules,
+                              logging.getLogger("httpserver.error.dbbackend"))
         return server_class(server_address, userdbfile=opts.userdb_file,
                             dbbackend=dbbackend, **kw)
 



More information about the Osaas-commits mailing list