* add port and user database in logger

bzr revid: christophe.chauvet@syleam.fr-20081211205707-juwwx8adizpj1p13
This commit is contained in:
Christophe Chauvet 2008-12-11 21:57:07 +01:00
parent 6827e34569
commit 8f5cf3c953
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ import tools
logger.notifyChannel("server", netsvc.LOG_INFO, "version - %s" % release.version )
for name, value in [('addons_path', tools.config['addons_path']),
('database hostname', tools.config['db_host'] or 'localhost')]:
('database hostname', tools.config['db_host'] or 'localhost'),
('database port', tools.config['db_port'] or '5432'),
('database user', tools.config['db_user'] or 'oerp')]:
logger.notifyChannel("server", netsvc.LOG_INFO, "%s - %s" % ( name, value ))
import time