Skip to content

Commit

Permalink
Merge pull request #234 from dmlloyd/logmgr-240
Browse files Browse the repository at this point in the history
[LOGMGR-240] Fix infinite recursion for simple message formatting
  • Loading branch information
jamezp authored Feb 28, 2019
2 parents ef1ea43 + e14e43c commit 79881d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ public static FormatStep simpleMessageFormatStep(final ExtFormatter formatter, f
public static FormatStep simpleMessageFormatStep(final ExtFormatter formatter, final boolean leftJustify, final int minimumWidth, final boolean truncateBeginning, final int maximumWidth) {
return new JustifyingFormatStep(leftJustify, minimumWidth, truncateBeginning, maximumWidth) {
public void renderRaw(Formatter formatter, final StringBuilder builder, final ExtLogRecord record) {
builder.append(formatter.format(record));
builder.append(formatter.formatMessage(record));
}
};
}
Expand Down

0 comments on commit 79881d4

Please sign in to comment.