diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2011-04-25 00:52:05 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2011-04-25 00:52:05 -0400 |
| commit | 5f2d5dbc45f1bb84c3f58078cb132e0992ec0994 (patch) | |
| tree | d6e7288cf8957a4a1a780f392b70a1880ff5d346 /server/plugin.py | |
| parent | 31d5c3bc03fd50c076026c4954a1cdb5bcef40b0 (diff) | |
| download | alias-5f2d5dbc45f1bb84c3f58078cb132e0992ec0994.tar.gz | |
Some further daemon cleanups.
- alias logs should be properly redirected
- needs to redirect sleekxmpp somewhere
Diffstat (limited to 'server/plugin.py')
| -rw-r--r-- | server/plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/plugin.py b/server/plugin.py index 8d2e8c2..0af0a73 100644 --- a/server/plugin.py +++ b/server/plugin.py @@ -1,4 +1,5 @@ import logging +logger = logging.getLogger("alias") import base64 import hashlib from xml.etree import cElementTree as ET @@ -68,7 +69,7 @@ class AliasPlugin(base.base_plugin): try: callee = base64.b64decode(iq['to'].user) except TypeError: - logging.error("callee field not base64 encoded") + logger.error("callee field not base64 encoded") node = iq['alias']['node'] node = ObjectReader(callee, node) |
