diff options
| author | Bhumika (OpenERP) <sbh@tinyerp.com> | 2011-06-17 12:09:14 +0530 |
|---|---|---|
| committer | Bhumika (OpenERP) <sbh@tinyerp.com> | 2011-06-17 12:09:14 +0530 |
| commit | ca2598f997dbea98d9d9bad5f890cf3e872e129e (patch) | |
| tree | 13bb9546f2325f5bd9ab6fc8ca40bf4319a918db /addons/fetchmail/fetchmail.py | |
| parent | f2c41053ea4d5216897d115df81662aad1d7d9b4 (diff) | |
[IMP]: fetchmail: improve the log message
bzr revid: sbh@tinyerp.com-20110617063914-lue87brktmevt9a8
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 41f84cfdedd..58a580d79c3 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -199,7 +199,7 @@ class email_server(osv.osv): pop_server.quit() - logger.notifyChannel('imap', netsvc.LOG_INFO, 'fetchmail fetch %s email(s) from %s' % (numMsgs, server.name)) + logger.notifyChannel(server.type, netsvc.LOG_INFO, 'fetchmail fetch %s email(s) from %s' % (numMsgs, server.name)) except Exception, e: logger.notifyChannel(server.type, netsvc.LOG_WARNING, '%s' % (tools.ustr(e))) |
