Messages written to System.out are automatically redirected to the root logger by CraftBukkit. However, before the messages reach the logger, they are encoded and later decoded again using the standard system encoding. On some systems (e.g. FreeBSD), the standard system encoding is US-ASCII by default, which doesn't support the section sign (§) that is used for the color codes. Consequently, they will never reach the formatter that translates them into ANSI escape codes. There is no reason to write these messages to System.out - it just adds additional overhead and the encoding problems. We can just log the messages directly with the root logger.
28 KiB
28 KiB