Disable log.stdout.wrap by default

It causes more issues than it solves. The output might break if you
resize the terminal and it can make logs harder to read.
This commit is contained in:
nyuszika7h 2014-09-13 13:23:50 +02:00
parent 7043e17fb0
commit dd3752df17

View File

@ -281,7 +281,7 @@ conf.registerGlobalValue(conf.supybot.log.stdout, 'colorized',
BooleanRequiredFalseOnWindows(False, """Determines whether the bot's logs BooleanRequiredFalseOnWindows(False, """Determines whether the bot's logs
to stdout (if enabled) will be colorized with ANSI color.""")) to stdout (if enabled) will be colorized with ANSI color."""))
conf.registerGlobalValue(conf.supybot.log.stdout, 'wrap', conf.registerGlobalValue(conf.supybot.log.stdout, 'wrap',
registry.Boolean(True, """Determines whether the bot will wrap its logs registry.Boolean(False, """Determines whether the bot will wrap its logs
when they're output to stdout.""")) when they're output to stdout."""))
conf.registerGlobalValue(conf.supybot.log.stdout, 'format', conf.registerGlobalValue(conf.supybot.log.stdout, 'format',
registry.String('%(levelname)s %(asctime)s %(message)s', registry.String('%(levelname)s %(asctime)s %(message)s',