Java logging viewer is available as a plugin for Eclipse IDE.
Currently it supports the following logging system clients:
- log4j v1.x
- Getting logs by socket
- Quick filtering by any log’s field
- Detailed information about selected log
- Preferences page for controlling and saving plugin state
- Additional preference page for customizing logs’ representation
- Eclipse 4.x
- Java 1.7
https://github.com/rdiachenko/jlv/raw/repo/eclipse
JLV uses socket connection to receive logs from clients. Clients should configure their log4j properties file for successful interaction. Default port is 4445, but you may also change it in JLV’s preferences. Add this configuration to your log4j properties file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="jlv" class="org.apache.log4j.net.SocketAppender">
<param name="remoteHost" value="localhost"/>
<param name="port" value="4445"/>
<param name="locationInfo" value="true"/>
</appender>
<root>
<priority value="debug"/>
<appender-ref ref="jlv"/>
</root>
</log4j:configuration>
log4j.rootCategory=DEBUG, jlv
log4j.appender.jlv=org.apache.log4j.net.SocketAppender
log4j.appender.jlv.remoteHost=localhost
log4j.appender.jlv.port=4445
log4j.appender.jlv.locationInfo=true