I am working on a grails app where in development mode, I log some calculations to a log file through log4j.
I want to provide a service which will read the log file and make its contents available to a developer so they can see what is being logged in the log file.
Is there a way I can get the log4j appender file name at run time?