Where is the path to the log file specified?

Something like this:
log4j.appender.AccessLog.File=<path-to-logfile>

Martin

> -----Ursprüngliche Nachricht-----
> Von: Vijay K Anand [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 4. Juli 2005 14:48
> An: user@struts.apache.org
> Betreff: log4j log
> 
> 
> Hi
> Here  goes my log4j property file
> 
> log4j.rootLogger=ERROR, A2 
> log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.A2.Threshold=DEBUG 
> log4j.appender.A2.file=npi_log log4j.appender.A2.append=true 
> log4j.appender.A2.layout=org.apache.log4j.PatternLayout
> log4j.appender.A2.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
> 
> here is the code where i want to log
> 
> static Logger logger = 
> Logger.getLogger(HighLevelAction.class.getClass());
> 
> logger.debug("test");
> 
> th eproblem is : it is not logging anything
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to