Java logging viewer is available as a plugin for Eclipse IDE.
- logback v1.x
- log4j v1.x
- log4j v2.x
- Receiving logs via socket
- Quick filtration
- Detailed information about selected log
- Preferences page for controlling and saving plugin state
- Preferences page for customizing log list representation
- Eclipse 4.6
- Java 1.8
- Release 1.4.0: Jlv Eclipse plugin 1.4.0 uses plugin element ids which are different from those, used in 1.3.3 version, so old versions of Jlv Eclipse plugin should be removed before installing 1.4.0 (#82).
https://github.com/rdiachenko/jlv/raw/repo/eclipse
Jlv uses socket connection to receive logs from clients. Clients should configure their logging system properties file for successful interaction. Default port is 4445, but you may also change it in Jlv plugin preferences page.
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true">
<appender name="JLV" class="ch.qos.logback.classic.net.SocketAppender">
<remoteHost>localhost</remoteHost>
<port>4445</port>
<includeCallerData>true</includeCallerData>
</appender>
<root level="DEBUG">
<appender-ref ref="JLV" />
</root>
</configuration>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "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
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Socket name="JLV" host="localhost" port="4445">
<SerializedLayout />
</Socket>
</Appenders>
<Loggers>
<Root level="DEBUG">
<AppenderRef ref="JLV" />
</Root>
</Loggers>
</Configuration>
- Install and configure your Eclipse
- Read article about development workflow with git