Use standard format function to format logs. Addresses BUKKIT-2246

Also fix "excess" Log Levels.

By: EdGruberman <ed@rjump.com>
This commit is contained in:
CraftBukkit/Spigot 2012-08-11 16:29:50 -07:00
parent ae2357b96e
commit 9c8b353591

View file

@ -46,7 +46,7 @@ public class ShortConsoleLogFormatter extends Formatter {
builder.append(" [");
builder.append(record.getLevel().getLocalizedName().toUpperCase());
builder.append("] ");
builder.append(record.getMessage());
builder.append(formatMessage(record));
builder.append('\n');
if (ex != null) {