Im using log4j2 with following dependencies:
org.apache.logging.log4j
First, remove the Async appender, and point the appender-ref of the AsyncLogger to the ProcessorLoggingFile directly. Second, you must add includeLocation="true" on the AsyncLogger.
Having an async appender in addition to an async logger does not help and in this case might be what prevents the includeLocation from working correctly.