chriskn / jlv

Java logging viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drag to your running Eclipse workspace to install JLV

Information

Java logging viewer is available as a plugin for Eclipse IDE.

Currently it supports the following logging system clients:

  • log4j v1.x
Current main features:
  • 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
Requirements:
  • Eclipse 4.x
  • Java 1.7

Eclipse update site

https://github.com/rdiachenko/jlv/raw/repo/eclipse

Release notes

Client’s log4j v1.x configuration

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 Format
<?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>
Properties Format
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

Screenshots

Show JLV’s view in Eclipse (Window > Show View > Other)

JLV’s main preferences page (Window > Preferences > JLV)

JLV’s additional preferences page (Window > Preferences > JLV > Additional)

JLV’s log list view and log details view

How to contribute

Contributors

Ruslan Diachenko

About

Java logging viewer


Languages

Language:Java 99.2%Language:Shell 0.8%