<p>In <a href="https://github.com/OfflineIMAP/offlineimap/pull/260#discussion_r41809496">offlineimap/ui/Noninteractive.py</a>:</p>
<pre style='color:#555'>> + def __init__(self, config, loglevel = logging.INFO):
> + return super(Syslog, self).__init__(config, loglevel)
> +
> + def setup_consolehandler(self):
> + # create syslog handler
> + ch = logging.handlers.SysLogHandler('/dev/log')
> + # create formatter and add it to the handlers
> + self.formatter = logging.Formatter("%(message)s")
> + ch.setFormatter(self.formatter)
> + # add the handlers to the logger
> + self.logger.addHandler(ch)
> + self.logger.info(offlineimap.banner)
> + return ch
> +
> + def setup_sysloghandler(self):
> + pass
</pre>
<p>Override is here.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/pull/260/files#r41809496">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEEiNh2X-1Aq4EIDma9t3XJMiWwTRks5o7C_ZgaJpZM4GNTzw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/pull/260/files#r41809496"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>