ChannelLogger: set FlushImmediately to True.

* This is default behaviour with ZNC and some other IRC related applications.
* Users are often confused when the logs don't appear.
* The logs will less likely get lost if they are written immediately.
* Gribble is doing this too (but not by default).
This commit is contained in:
Mikaela Suomalainen 2014-05-31 18:28:26 +03:00
parent 303c00db1e
commit b5fd00b416

View File

@ -45,7 +45,7 @@ ChannelLogger = conf.registerPlugin('ChannelLogger')
conf.registerChannelValue(ChannelLogger, 'enable', conf.registerChannelValue(ChannelLogger, 'enable',
registry.Boolean(True, _("""Determines whether logging is enabled."""))) registry.Boolean(True, _("""Determines whether logging is enabled.""")))
conf.registerGlobalValue(ChannelLogger, 'flushImmediately', conf.registerGlobalValue(ChannelLogger, 'flushImmediately',
registry.Boolean(False, _("""Determines whether channel logfiles will be registry.Boolean(True, _("""Determines whether channel logfiles will be
flushed anytime they're written to, rather than being buffered by the flushed anytime they're written to, rather than being buffered by the
operating system."""))) operating system.""")))
conf.registerChannelValue(ChannelLogger, 'showJoinParts', conf.registerChannelValue(ChannelLogger, 'showJoinParts',