summaryrefslogtreecommitdiff
path: root/addons/fetchmail/fetchmail.py
diff options
context:
space:
mode:
authorBhumika (OpenERP) <sbh@tinyerp.com>2011-06-17 13:57:38 +0530
committerBhumika (OpenERP) <sbh@tinyerp.com>2011-06-17 13:57:38 +0530
commit6df880e9a4a092b1614154a68ef5f5eb31e1bf67 (patch)
treebec34a1e58323825f4e14e1b911d52501942ae11 /addons/fetchmail/fetchmail.py
parentca2598f997dbea98d9d9bad5f890cf3e872e129e (diff)
[IMP]: fetchmail: improve the log message
bzr revid: sbh@tinyerp.com-20110617082738-i0umdo9cptek6l4j
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
-rw-r--r--addons/fetchmail/fetchmail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py
index 58a580d79c3..386b48f1546 100644
--- a/addons/fetchmail/fetchmail.py
+++ b/addons/fetchmail/fetchmail.py
@@ -116,7 +116,7 @@ class email_server(osv.osv):
if context is None:
context = {}
for server in self.browse(cr, uid, ids, context=context):
- logger.notifyChannel('imap', netsvc.LOG_INFO, 'fetchmail start checking for new emails on %s' % (server.name))
+ logger.notifyChannel(server.type, netsvc.LOG_INFO, 'fetchmail start checking for new emails on %s' % (server.name))
context.update({'server_id': server.id, 'server_type': server.type})
try:
if server.type == 'imap':