I have the following configuration file that is very similar to the standard example in the Logback manual. The only difference is the addition of [%F:%L]. while everything
You need to set AsyncAppender's includeCallerData property to true. Here is the modified config file:
myapp.log %logger{35} - [%F:%L] - %msg%n true