Closed nstielau closed 13 years ago
Hey,
Getting ready to try this out. Talking with joemiller on #graylog2, gelfj requires Log4j 1.2.16. Here's his quick fix for backwards compatibility, which could possibly be determined programmatically and incorporated into gelfj:
+++ b/src/main/java/org/graylog2/log/GelfAppender.java @@ -64,7 +64,9 @@ public class GelfAppender extends AppenderSkeleton { @Override protected void append(LoggingEvent event) { Level level = event.getLevel();
Hi,
Thanks for suggestion. I've committed fix with detection of a Log4j version and uploaded v0.3 of a jar. Could you please check from you side?
Anton
Hey,
Getting ready to try this out. Talking with joemiller on #graylog2, gelfj requires Log4j 1.2.16. Here's his quick fix for backwards compatibility, which could possibly be determined programmatically and incorporated into gelfj:
+++ b/src/main/java/org/graylog2/log/GelfAppender.java @@ -64,7 +64,9 @@ public class GelfAppender extends AppenderSkeleton { @Override protected void append(LoggingEvent event) { Level level = event.getLevel();