I think the approach should be via the appender. you can try and extend it - AFAIK only the appender can give you the file name.
On Mon, May 4, 2009 at 3:56 PM, <[email protected]> wrote: > Hi, > > I'm using log4j with a DailyRollingFileAppender. Now I want to add some > reporting functions to the same application that uses this appender. So I > need to get access to the logfile that is written by the file appender. Only > the current logfile needs to be read so is is possible via the logger > instance? > > Logger logger = Logger.getLogger(this.class); > > Regards, > Jason > > > ______________________________________________________ > GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://movieflat.web.de > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
