Skip to content

otros-systems/OtrosLogbackSocketAppender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OtrosLogbackSocketAppender

Implementation of Logback SocketAppender with fixed issue http://jira.qos.ch/browse/LOGBACK-905

Version 1.0 is in maven repository on Bintray https://bintray.com/artifact/download/otros-systems/maven.

If you are using Gradle, add following dependency:

compile 'pl.otros.logback.socket:OtrosLogbackSocketAppender:1.0'

In logback configuration file define SOCKET appeder:

    <appender name="SOCKET" class="pl.otros.logback.socket.OtrosSocketAppender">
        <remoteHost>localhost</remoteHost>
        <port>5000</port>
        <includeCallerData>true</includeCallerData>
    </appender>

Add SOCKET appender ref to root logger:

    <root level="debug">
        <appender-ref ref="SOCKET"/>
    </root>

About

Implementation of Logback SocketAppender with fixed issue http://jira.qos.ch/browse/LOGBACK-905

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages