Skip to content

Commit

Permalink
Fix TOC links
Browse files Browse the repository at this point in the history
  • Loading branch information
brenuart committed Aug 16, 2022
1 parent cdec289 commit c126999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ These async appenders can delegate to any other underlying logback appender.



### UDP Appender
### UDP Appenders

To output JSON for LoggingEvents to a syslog/UDP channel,
use the `LogstashUdpSocketAppender` with a `LogstashLayout` or `LoggingEventCompositeJsonLayout`
Expand Down Expand Up @@ -302,7 +302,7 @@ in your `logback-access.xml`, like this:
</configuration>
```

The TCP appenders use an encoder, rather than a layout as the [UDP appenders](#udp) .
The TCP appenders use an encoder, rather than a layout as the [UDP appenders](#udp-appenders) .
You can use a `Logstash*Encoder`, `*EventCompositeJsonEncoder`, or any other logback encoder.
All of the output formatting options are configured at the encoder level.

Expand Down Expand Up @@ -817,7 +817,7 @@ Listeners can be registered to an appender to receive notifications for the appe

See the two listener interfaces for the types of notifications that can be received:

* [`AppenderListener`](/src/main/java/net/logstash/logback/appender/listener/AppenderListener.java) - basic notifications for the [async appenders](#async-appenders) and [udp appenders](#udp-appenders).
* [`AppenderListener`](/src/main/java/net/logstash/logback/appender/listener/AppenderListener.java) - basic notifications for the [async appenders](#async-appenders) and [UDP appenders](#udp-appenders).
* [`TcpAppenderListener`](/src/main/java/net/logstash/logback/appender/listener/TcpAppenderListener.java) - extension of `AppenderListener` with additional TCP-specific notifications. Only works with the [TCP appenders](#tcp-appenders).

Some example use cases for a listener are:
Expand Down

0 comments on commit c126999

Please sign in to comment.