Skip to content

GerritForge/logback-nats-appender

Repository files navigation

LOGBack appender for NATS Topic

Build Status Download

LOGBack appender for NATS topics

How to build

Requires Maven 3.x and JDK 8.

$ mvn install

How to use

Add a LOGBack appender and configure the topic where to push the log events.

<configuration>
    <appender name="nats" class="com.gerritforge.logback.nats.NatsTopicAppender">
        <url>nats://nats.mycompany.com:4222</url>
        <topic>mylogs</topic>
    </appender>

    <root level="INFO">
        <appender-ref ref="nats"/>
    </root>
</configuration>

How to contribute

Please read carefully the Project Contribution Guidelines

About

LOGBack appender for NATS topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages