-
When I run my junit tests (in gradle, using
However, contrary to what this says, these events do not, in fact, seem to be subject to the filtering rules. I've written a
I've confirmed that this file is indeed getting picked up by inserting a tag called Has anyone else experienced this? What's the right way to configure this so I only get messages at |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Update: if I add a recognizable prefix to the |
Beta Was this translation helpful? Give feedback.
-
Update: if I change the root logger to specify Only the log level seems to be ignored. |
Beta Was this translation helpful? Give feedback.
-
Hi @prdoyle, The implementation of the Logger.log(LoggingEvent) method changed between logback versions 1.2 and 1.3/1.4. The latter method implementation assumes that when the system invoked, there was a prior decision made for logging (with no further filtering) whereas the prior implementation assumes that some further filtering is required. Can you create a issue regarding this in the SLF4J project in our jira? |
Beta Was this translation helpful? Give feedback.
-
Sure! Thanks for the reply! |
Beta Was this translation helpful? Give feedback.
-
Ticket is here. |
Beta Was this translation helpful? Give feedback.
Hi @prdoyle,
The implementation of the Logger.log(LoggingEvent) method changed between logback versions 1.2 and 1.3/1.4. The latter method implementation assumes that when the system invoked, there was a prior decision made for logging (with no further filtering) whereas the prior implementation assumes that some further filtering is required.
Can you create a issue regarding this in the SLF4J project in our jira?