Description
The following two calls should behave in the same way:
logger.info(marker, "Hello Log4j2 Core!"); logger.atInfo().withMarker(marker).log("Hello Log4j2 Core!");
If we use global filters and the filter returns ACCEPT, the first call will log a message even if the logger's level is lower than INFO. The second call will not log anything.
Attachments
Issue Links
- links to