file is @ /logs directory but it is empty



[EMAIL PROTECTED] wrote:

Its the filename, but where is it stored on your harddisk?
With Win2003 and Tomcat I found my log-file in C:\WINNT\SYSTEM32!

Peter

-----Ursprüngliche Nachricht-----
Von: Vijay K Anand [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. Juli 2005 14:58
An: Struts Users Mailing List
Betreff: Re: log4j log


Hi
This is the file name i have specified below  ------> npi_log

Vijay K Anand wrote:

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]

---------------------------------------------------------------------
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