From 32f8c447718e2aa57e0a54456a46bdf429a8031c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andre=CC=81n?= Date: Tue, 8 Sep 2015 14:14:17 +0200 Subject: [PATCH] =doc #15678 clarify log level limits events passed to actual logger --- akka-docs/rst/java/logging.rst | 5 +++++ akka-docs/rst/scala/logging.rst | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/akka-docs/rst/java/logging.rst b/akka-docs/rst/java/logging.rst index d2ac7a1d30..4819023042 100644 --- a/akka-docs/rst/java/logging.rst +++ b/akka-docs/rst/java/logging.rst @@ -278,6 +278,11 @@ More fine grained log levels can be defined in the configuration of the SLF4J ba the ``logging-filter`` configuration property. It will filter the log events using the backend configuration (e.g. logback.xml) before they are published to the event bus. +.. warning:: + If you set the ``loglevel`` to a higher level than "DEBUG", any DEBUG events will be filtered + out already at the source and will never reach the logging backend, regardless of how the backend + is configured. + .. code-block:: ruby akka { diff --git a/akka-docs/rst/scala/logging.rst b/akka-docs/rst/scala/logging.rst index c087e43264..d3dc538e96 100644 --- a/akka-docs/rst/scala/logging.rst +++ b/akka-docs/rst/scala/logging.rst @@ -314,6 +314,11 @@ More fine grained log levels can be defined in the configuration of the SLF4J ba the ``logging-filter`` configuration property. It will filter the log events using the backend configuration (e.g. logback.xml) before they are published to the event bus. +.. warning:: + If you set the ``loglevel`` to a higher level than "DEBUG", any DEBUG events will be filtered + out already at the source and will never reach the logging backend, regardless of how the backend + is configured. + .. code-block:: ruby akka {