[
https://issues.apache.org/jira/browse/SLING-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003862#comment-13003862
]
Felix Meschberger commented on SLING-2025:
------------------------------------------
Works as designed I might say ;-)
LogListener is a functionality of the OSGi Log Service specification so only
log messages sent to the OSGi LogService are sent to log listeners.
More on the dev list http://markmail.org/message/eggzlxx7x5bkqyjp
> Registered LogListeners don't get messages sent through SLF4J
> -------------------------------------------------------------
>
> Key: SLING-2025
> URL: https://issues.apache.org/jira/browse/SLING-2025
> Project: Sling
> Issue Type: Bug
> Components: Commons
> Reporter: Carl Hall
>
> When a log message is sent through LogService, the message also goes out to
> LogListeners registered with LogReaderService. When a log message is sent
> through SLF4J, it bypasses LogService and thusly the LogReaderService and no
> LogListeners receive the log message.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira