path: root/pykolab/plugins/roundcubedb/
diff options
authorLiutauras Adomaitis <>2018-03-15 16:17:38 +0200
committerLiutauras Adomaitis <>2018-05-17 09:56:05 +0300
commit10f1c173941d0a8df227822ca4b497398eb73760 (patch)
tree9a10c7d3fca5ffc5bf7bbfc383d01f9ac36cdaab /pykolab/plugins/roundcubedb/
parentae2ba60049a4e5c4e4ea427dfb59a63547a683ea (diff)
With this patch I'm trying to introduce a file-type object in logger, which could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs...
Summary: fork mode stderr is not available (Bad file descriptor error) and thus wallace traceback when it tries to send emails Test Plan: none Reviewers: vanmeeuwen, machniak, petersen Reviewed By: vanmeeuwen Subscribers: petersen, machniak, vanmeeuwen Maniphest Tasks: T2498, T2163, T3751 Differential Revision:
Diffstat (limited to 'pykolab/plugins/roundcubedb/')
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/plugins/roundcubedb/ b/pykolab/plugins/roundcubedb/
index a7f289e..40271c3 100644
--- a/pykolab/plugins/roundcubedb/
+++ b/pykolab/plugins/roundcubedb/
@@ -45,7 +45,7 @@ class KolabRoundcubedb(object):
domain - domain name
- log.debug(_("user_delete: %r") % (kw), level=9)
+ log.debug(_("user_delete: %r") % (kw), level=8)
if os.path.isdir('/usr/share/roundcubemail'):
rcpath = '/usr/share/roundcubemail/'
@@ -64,6 +64,6 @@ class KolabRoundcubedb(object):
if proc.returncode != 0:
log.error(rcpath + "bin/ exited with error %d: %r" % (proc.returncode, procerr))
- log.debug(rcpath + "bin/ success: %r; %r" % (procout, procerr), level=9)
+ log.debug(rcpath + "bin/ success: %r; %r" % (procout, procerr), level=8)
return None