Logs pour l'intranet

darcs-hash:20061025153726-f46e9-0938346d89216d3205444a7a94e3391ef4a416f7.gz
This commit is contained in:
gdetrez 2006-10-25 17:37:26 +02:00
parent 4f932e2287
commit 14cf75e894
4 changed files with 20 additions and 18 deletions

View file

@ -51,10 +51,10 @@ if (options.port):
if (cherrypy.config.configMap["global"]["server.environment"] == "development"):
from ldap_crans_test import crans_ldap
print("settings : unsing test ldap : env=" + cherrypy.config.configMap["global"]["server.environment"])
cherrypy.log("settings : unsing test ldap : env=" + cherrypy.config.configMap["global"]["server.environment"], "LDAP")
else:
from ldap_crans import crans_ldap
print("settings : unsing prod ldap : env=" + cherrypy.config.configMap["global"]["server.environment"])
cherrypy.log("settings : unsing prod ldap : env=" + cherrypy.config.configMap["global"]["server.environment"], "LDAP")
cherrypy.config.update({'global':{'crans_ldap':crans_ldap()}})
# ######################################################## #