Github user rgoers commented on the issue:
https://github.com/apache/logging-log4j2/pull/109
Finding the frame prior to the first frame that matches the class name of
the logger is likely to return a frame that still points at the logger class
because multiple methods in the logger may be called.
What the original code is trying to do is find the first stack frame that
matches the fully-qualified class name of the logger and then skip all the
stack frames for that logger. If it isn't doing that correctly then it
obviously needs to be fixed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---