diff --git a/akka-docs/src/main/paradox/logging.md b/akka-docs/src/main/paradox/logging.md index 9d641752b8..0552d47b31 100644 --- a/akka-docs/src/main/paradox/logging.md +++ b/akka-docs/src/main/paradox/logging.md @@ -561,10 +561,10 @@ The slf4j bridge provided by Akka in `akka-slf4j` will automatically pick up thi Akka is logging some events with markers. Some of these events also include structured MDC properties. * The "SECURITY" marker is used for highlighting security related events or incidents. -* Akka Actor is using the markers defined in @apidoc[akka.actor.ActorLogMarker]. -* Akka Cluster is using the markers defined in @apidoc[akka.cluster.ClusterLogMarker]. -* Akka Remoting is using the markers defined in @apidoc[akka.remote.RemoteLogMarker]. -* Akka Cluster Sharding is using the markers defined in @apidoc[akka.cluster.sharding.ShardingLogMarker]. +* Akka Actor is using the markers defined in @apidoc[akka.actor.ActorLogMarker$]. +* Akka Cluster is using the markers defined in @apidoc[akka.cluster.ClusterLogMarker$]. +* Akka Remoting is using the markers defined in @apidoc[akka.remote.RemoteLogMarker$]. +* Akka Cluster Sharding is using the markers defined in @apidoc[akka.cluster.sharding.ShardingLogMarker$]. Markers and MDC properties are automatically picked up by the [Logstash Logback encoder](https://github.com/logstash/logstash-logback-encoder). diff --git a/akka-docs/src/main/paradox/typed/logging.md b/akka-docs/src/main/paradox/typed/logging.md index 97cd5494d5..e4c34d86e2 100644 --- a/akka-docs/src/main/paradox/typed/logging.md +++ b/akka-docs/src/main/paradox/typed/logging.md @@ -435,10 +435,10 @@ All MDC properties as key-value entries can be included with `%mdc`: Akka is logging some events with markers. Some of these events also include structured MDC properties. * The "SECURITY" marker is used for highlighting security related events or incidents. -* Akka Actor is using the markers defined in @apidoc[akka.actor.ActorLogMarker]. -* Akka Cluster is using the markers defined in @apidoc[akka.cluster.ClusterLogMarker]. -* Akka Remoting is using the markers defined in @apidoc[akka.remote.RemoteLogMarker]. -* Akka Cluster Sharding is using the markers defined in @apidoc[akka.cluster.sharding.ShardingLogMarker]. +* Akka Actor is using the markers defined in @apidoc[akka.actor.ActorLogMarker$]. +* Akka Cluster is using the markers defined in @apidoc[akka.cluster.ClusterLogMarker$]. +* Akka Remoting is using the markers defined in @apidoc[akka.remote.RemoteLogMarker$]. +* Akka Cluster Sharding is using the markers defined in @apidoc[akka.cluster.sharding.ShardingLogMarker$]. Markers and MDC properties are automatically picked up by the [Logstash Logback encoder](https://github.com/logstash/logstash-logback-encoder).