I have a java SocketServer running listening for LoggingEvents. I want log4perl to be able to log to this server. When it attempts to log I get the folowing error message:
(SocketNode.java:85) ERROR org.apache.log4j.n
et.SocketNode - Unexpected exception. Closing conneciton.
java.lang.NullPointerException
at org.apache.log4j.net.SocketNode.run(SocketNode.java:67)
at java.lang.Thread.run(Thread.java:536)
Does anyone know how to get log4perl to send the data in the right format? The server works fine with log4java but genrates the above message only for log4perl. I think it's because the SocketServer expects a LoggingEvent but does not get one from log4perl.
I am using Log::Log4perl::Appender::Socket in my Perl config file.
Thanks in advance
Alan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I have a java SocketServer running listening for LoggingEvents. I want log4perl to be able to log to this server. When it attempts to log I get the folowing error message:
(SocketNode.java:85) ERROR org.apache.log4j.n
et.SocketNode - Unexpected exception. Closing conneciton.
java.lang.NullPointerException
at org.apache.log4j.net.SocketNode.run(SocketNode.java:67)
at java.lang.Thread.run(Thread.java:536)
Does anyone know how to get log4perl to send the data in the right format? The server works fine with log4java but genrates the above message only for log4perl. I think it's because the SocketServer expects a LoggingEvent but does not get one from log4perl.
I am using Log::Log4perl::Appender::Socket in my Perl config file.
Thanks in advance
Alan