I am trying to use the eof appender for log4j, but when I turn on the
eof logger, the application crashes with this stack trace:
Thread [main] (Suspended (breakpoint at line 41 in ERXNSLogLog4jBridge))
ERXNSLogLog4jBridge.appendln(Object) line: 41
WOApplication.main(String, Class) line: 331
ERXApplication.main(String, Class) line: 46
Application.main(String) line: 39
Here is the properties I used to set it up:
log4j.appender.EOF = er.extensions.ERXEOFAppender
log4j.appender.EOF.BufferSize = 20
log4j.appender.EOF.LoggingEntity = Log
log4j.appender.EOF.layout = er.extensions.ERXPatternLayout
log4j.appender.EOF.layout.ConversionPattern = %m
And this is what is logged to the console:
ERXNSLogLog4jBridge.java:41 - A fatal exception occurred: null
If I turn it off, there is no problem.
Does anyone use the EOF Appender or do they use the JDBC appender?
Does anyone know why this would be happening?
Get latest updates about Open Source Projects, Conferences and News.