This project has moved. For the latest updates, please go here.

Consuming Logs from Log4J

Apr 22, 2011 at 5:19 AM

I'm trying to use Log2Console to consume Log4J data, but can't seem to get it to work

Ideally I would only use the TCP connection, but I can't even get the file one to work.

here is my Log4J config settings:

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.conversionPattern=%d{HH:mm:ss,SSS} %-15.15t [%-5p] %-26.26c{1} - %m\n

log4j.appender.R.File=C:\\_Logs\\log_file.log
log4j.appender.R.MaxFileSize=10KB

log4j.appender.socket=org.apache.log4j.net.SocketAppender
log4j.appender.socket.port=4505
log4j.appender.socket.remoteHost=localhost
log4j.appender.socket.layout=org.apache.log4j.PatternLayout
log4j.appender.socket.layout.conversionPattern=%d{HH:mm:ss,SSS} %-15.15t [%-5p] %-26.26c{1} - %m\n

I've configured Log2Console to receive this data, but nothing seems to get there