| Author |
log4j updating wrong file
|
Prashant Saraf
Ranch Hand
Joined: Sep 25, 2006
Posts: 50
|
|
Hi, I am using weblogic 8.1 and log4j, I had two application. Both had Log4j and respective log file say a.log and b.log. when i use one of them then proper logging was perform, when both application are running. which ever application requested second will updating log file. and it updates both the logs in single log file. can any one help me on this. Thanks Prashant Saraf
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
|
Where have you put the log4j.jar ?
|
Rahul Bhattacharjee
LinkedIn - Blog
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
|
The log4j jar should not be in any shared location , both the application should have its own copy of log4j jar.One jar per classloader / application.
|
 |
 |
|
|
subject: log4j updating wrong file
|
|
|