Configuring Multiple Instance of Log4j in Single WebApplication
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sarath_chandran
Posted On:   Wednesday, February 21, 2007 01:37 AM

We are currently enhancing a part of the web-application, we are facing problems in configuring multiple instance of Log4J in the same web application so that each part of the application writes its own log file. After implementing logging using log4j in our application, the log generated by the framework implementation is also written to the custom log file. After inspecting the class in “common.jar” Logger.class uses “NonCatalogLogger” from weblogic package that writes the log info to server log was found.This jar is part of the web-application it self The requirement is that we need to write the log information of this enhancement part of application to a seperate log file and the framework in the web-application to wr   More>>


We are currently enhancing a part of the web-application, we are facing problems in configuring multiple instance of Log4J in the same web application so that each part of the application writes its own log file.

After implementing logging using log4j in our application, the log generated by the framework implementation is also written to the custom log file.

After inspecting the class in “common.jar” Logger.class uses “NonCatalogLogger” from weblogic package that writes the log info to server log was found.This jar is part of the web-application it self

The requirement is that we need to write the log information of this enhancement part of application to a seperate log file and the framework in the web-application to write the log information to the web-logic server log.

Kindly provide some samples also.

   <<Less
About | Sitemap | Contact