Hi

Thanks for replying

if i say so , it logs everything that is happening behind
I dont want anything except i say explictly by  logger.debug("test");

[EMAIL PROTECTED] wrote:

Hi

log4j.rootLogger=ERROR, A2 <<<--- Change this one to Debug, A2

-----Opprinnelig melding-----
Fra: Vijay K Anand [mailto:[EMAIL PROTECTED]
Sendt: 4. juli 2005 14:48
Til: user@struts.apache.org
Emne: 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]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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