This is an automated email from the ASF dual-hosted git repository.
vavrtom pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/main by this push:
new f21bf46e70 QPID-8655: [Broker-J] Numbers are treated as strings as in
the previous version of logback-gelf (3.0.0)
f21bf46e70 is described below
commit f21bf46e70f82785b0619c87e1cdab5991a6d51d
Author: Tomas Vavricka <[email protected]>
AuthorDate: Wed Jan 31 08:57:38 2024 +0100
QPID-8655: [Broker-J] Numbers are treated as strings as in the previous
version of logback-gelf (3.0.0)
---
.../org/apache/qpid/server/logging/logback/graylog/GraylogAppender.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/broker-plugins/graylog-logging-logback/src/main/java/org/apache/qpid/server/logging/logback/graylog/GraylogAppender.java
b/broker-plugins/graylog-logging-logback/src/main/java/org/apache/qpid/server/logging/logback/graylog/GraylogAppender.java
index f90cb519a2..2d93b52bbc 100644
---
a/broker-plugins/graylog-logging-logback/src/main/java/org/apache/qpid/server/logging/logback/graylog/GraylogAppender.java
+++
b/broker-plugins/graylog-logging-logback/src/main/java/org/apache/qpid/server/logging/logback/graylog/GraylogAppender.java
@@ -118,6 +118,7 @@ final class GraylogAppender extends AsyncAppender
encoder.setIncludeCallerData(settings.isCallerDataIncluded());
encoder.setIncludeRootCauseData(settings.hasRootExceptionDataIncluded());
encoder.setIncludeLevelName(settings.isLogLevelNameIncluded());
+ encoder.setNumbersAsString(true);
settings.getStaticFields().forEach(encoder::addStaticField);
return encoder;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]