ltiple times -- once for each request processed.
The easiest way to configure it only once is to put the config file in
the classpath and allow it to be automatically configured. An
alternative is to call doconfigure in static code that is only called
once.
On 2/27/07, Surya Poola wrote:
> Iam sure
figure?
On 2/27/07, Surya Poola wrote:
> Iam calling jc.doconfigure only once in my program.I hope this should not be
> the
> problem.
>
>
> James Stauffer wrote:
> Are you calling jc.doConfigure multiple times? It should only be
> called once during the prog
Iam calling jc.doconfigure only once in my program.I hope this should not be the
problem.
James Stauffer <[EMAIL PROTECTED]> wrote:
Are you calling jc.doConfigure multiple times? It should only be
called once during the program run.
On 2/27/07, Surya Poola wrote:
> Hi,
>
ding a solution with JoranConfigurator.
Regards,
Rohan
Surya Poola <[EMAIL PROTECTED]> wrote:
Dirk,
I have multiple instance of webapp applications .So currently i tried by
saving my log4j.xml file in WEB-INF/classes folder.
The file is been picked up, but i am getting the same warnings that
Dirk,
I have multiple instance of webapp applications .So currently i tried by
saving my log4j.xml file in WEB-INF/classes folder.
The file is been picked up, but i am getting the same warnings that i got
earlier without any file output( Ihave switched on the debug . mode)
log4j:WARN Cont
backward compatible. Or, at least, JoranConfigurator should
recognize the old syntax and defer to DOMConfigurator in that case. Of course
there's other compatibility gotcha's between 1.2 and 1.3.
Jake
> dirk
>
> >
> >
> >
> >
> >
> &
er <[EMAIL PROTECTED]> wrote:
Even though DOMConfigurator is depreciated it may still work and it
may be worthwhile to try it to see if your config is ok.
On 1/15/07, Surya Poola wrote:
> Dirk,
>
> Thanks for your help,but iam sorry to query you once more:
>
> I already have go
Dirk,
Thanks for your help,but iam sorry to query you once more:
I already have gone through the document.My question is in log4j 1.2.8 i was
using the following for DailyRollingFileAppender to map to configuration file :
DOMConfigurator.configure(mLOG4JCONFIGFILE);
where mLOG4JCONFI
Hi Dirk,
But how can i map to the log4j.xml file without use of joranconfigurator.I
hope we need one configurator which maps to configuration file.
So please let me know the procedure to map log4j.xml file which resides in
specific location, or else the right usage of configurator for
R
Hi,
Iam new to log4j usage.My requirement is to wriite a log file and roll over
monthly, but I want the file name that iam logging to be identified with date
like xyz_01-2007.csv before rollover.
Iam using log4j1.3 alpha-8 with rollingfileappender but file is not created
and iam no
10 matches
Mail list logo