allow larger log entries

pull/1/head
Michael Peter Christen 13 years ago
parent 9b48c9fe2e
commit f0a079ac9f

@ -295,7 +295,7 @@ public final class Log {
public Throwable thrown; public Throwable thrown;
private logEntry(final Level level, final String message) { private logEntry(final Level level, final String message) {
this.level = level; this.level = level;
this.message = message == null || message.length() <= 120 ? message : message.substring(0, 120); this.message = message == null || message.length() <= 512 ? message : message.substring(0, 512);
} }
public logEntry(final Logger logger, final Level level, final String message, final Throwable thrown) { public logEntry(final Logger logger, final Level level, final String message, final Throwable thrown) {
this(level, message); this(level, message);

Loading…
Cancel
Save