LOGBack appender to NATS pub/sub topic0.2.2Minimum Jenkins requirement: 2.60.1ID: logback-nats-appender
How to use it
This is a pure library plugin which includes the following dependencies:
It does not provide any end-user functionality but it is designed to be used as a dependency on other plugins that are willing to post
events through LOGBack.
See below a sample list of plugins that are providing events to LOGBack:
- Statistics Gatherer
How to configure a NATS appender in LOGBack
LOGBack assumes that you have a logback.xml configuration in your classpath.
See below a minimal logback.xml configuration that would send all the logging events to the output console and to a NATS topic called 'jenkins' to a local broker running on the localhost at port 4222.