You’ll probably have to modify the logging configuration file to get the line numbers. See this tutorial on logging.