logback-nats-appender

LOGBack appender for NATS Topic

License

License

Categories

Categories

Logback Application Layer Libs Logging
GroupId

GroupId

com.gerritforge
ArtifactId

ArtifactId

logback-nats-appender
Last Version

Last Version

0.2.3
Release Date

Release Date

Type

Type

jar
Description

Description

logback-nats-appender
LOGBack appender for NATS Topic
Project URL

Project URL

https://github.com/gerritforge/logback-nats-appender
Source Code Management

Source Code Management

https://github.com/gerritforge/logback-nats-appender.git

Download logback-nats-appender

How to add to project

<!-- https://jarcasting.com/artifacts/com.gerritforge/logback-nats-appender/ -->
<dependency>
    <groupId>com.gerritforge</groupId>
    <artifactId>logback-nats-appender</artifactId>
    <version>0.2.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.gerritforge/logback-nats-appender/
implementation 'com.gerritforge:logback-nats-appender:0.2.3'
// https://jarcasting.com/artifacts/com.gerritforge/logback-nats-appender/
implementation ("com.gerritforge:logback-nats-appender:0.2.3")
'com.gerritforge:logback-nats-appender:jar:0.2.3'
<dependency org="com.gerritforge" name="logback-nats-appender" rev="0.2.3">
  <artifact name="logback-nats-appender" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gerritforge', module='logback-nats-appender', version='0.2.3')
)
libraryDependencies += "com.gerritforge" % "logback-nats-appender" % "0.2.3"
[com.gerritforge/logback-nats-appender "0.2.3"]

Dependencies

provided (1)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.1.1
org.mockito : mockito-core jar 2.18.0

Project Modules

There are no modules declared in this project.

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

com.gerritforge

GerritForge

Gerrit Code Review for your Enterprise

Versions

Version
0.2.3
0.2.2