I would guess a class path issue (somehow your EJB log4j file should be placed in a more restrictive location), but just to clarify, you're saying the CXF app is writing to *two* log files--question: is it ever writing the same information simultaneously to both log files, or just one or the other logfile but not the same information to both at any given time?
Glen Afroze wrote: > > All, > > We have two applications running in Weblogic 10.1. One is an EJB cum web > application that uses log4j for logging. The next application is a CXF > based web application which exposes REST based services. Both > applications use log4j for logging. They have different log4j.xml files > pointing to different log output files. However, when the server is > started, I see a lot of CXF/Spring logs in the log output file of the > EJB/Web application. After those logs, the EJB/Web application is not able > to write logs any more. The log file is hijacked by the CXF's logging > facility. The CXF based application continues to write logs to its own log > output file without any problem. Also, I am surprised about how CXF is > able to find the log configuration of the other application. > > Can someone throw some light on this? > > Thanks, > Afroze > -- View this message in context: http://old.nabble.com/One-CXF-Web-application-hijacking-log4j-logging-of-another-EJB-Web-application-in-Weblogic-tp28417596p28421103.html Sent from the cxf-user mailing list archive at Nabble.com.
