Skip to content

Commit

Permalink
Merge pull request #1650 from newrelic/NEWRELIC-7122-jboss-logging-st…
Browse files Browse the repository at this point in the history
…ring-substitution

Support string formatting with JBoss Logging
  • Loading branch information
jasonjkeller authored Dec 7, 2023
2 parents 94f6268 + e703175 commit 06bf1cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class AgentUtil {
*/
public static void recordNewRelicLogEvent(ExtLogRecord record) {
if (record != null) {
String message = record.getMessage();
String message = record.getFormattedMessage();
Throwable throwable = record.getThrown();

if (shouldCreateLogEvent(message, throwable)) {
Expand Down

0 comments on commit 06bf1cc

Please sign in to comment.