Mercurial > p > roundup > code
diff roundup/backends/back_postgresql.py @ 4420:9655a1b65974
- more logger fixes -- use correct hierarchical logger names...
...always starting with "roundup." -- otherwise logger configuration
changed in changeset
2010-08-09T03:36:06Z!schlatterbeck@users.sourceforge.net will not work
(e.g. turning debugging on)
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Thu, 16 Sep 2010 07:44:50 +0000 |
| parents | 13b3155869e0 |
| children | 67bef70ab9b9 |
line wrap: on
line diff
--- a/roundup/backends/back_postgresql.py Mon Sep 13 17:08:41 2010 +0000 +++ b/roundup/backends/back_postgresql.py Thu Sep 16 07:44:50 2010 +0000 @@ -36,7 +36,7 @@ def db_create(config): """Clear all database contents and drop database itself""" command = "CREATE DATABASE %s WITH ENCODING='UNICODE'"%config.RDBMS_NAME - logging.getLogger('hyperdb').info(command) + logging.getLogger('roundup.hyperdb').info(command) db_command(config, command) def db_nuke(config, fail_ok=0):
