Yep.. first of all we need to put the properties file in
WEB-INF/classes folder..
after adding that to classpath...
just implement that in java class so that it will automatically send
the message to log file...
Kranti
On Tue, 28 Sep 2004 15:06:49 +0300, Tuncay Baskan <[EMAIL PROTECTED]> wrote:
On Tue, 28 Sep 2004 20:39:59 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am newbie in log4j.
>
> Please advice me the best option for loading the log4j properties file
> in a web application.
log4j searches your applicaton's classpath to find a log4j.properties
file. So p
Hi,
Just have a look...
here EcapsuleLogger is a java class.. with in that logInfoMessage is a
method...which will take the class name and the message ...
EcapsuleLogger.logInfoMessage(LoginAction.class, "In the TRY BLOCK of
the LoginAction");
this message will go into the log file...
this is
Hi All,
I am newbie in log4j.
Please advice me the best option for loading the log4j properties file
in a web application.
Regards,
KP
4 matches
Mail list logo