cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
363
Views
0
Helpful
1
Replies
Anil Kumar
Beginner

Two CVP Application sending logs message to common log file


Hi

I have one application with cusomized java class on Action element this Java class is using log4j library to populate logs to customized location ... However other CVP application (RSM) is also sending log to my customized location... I have not seen such issue in my development path... ever..

Is any body has any idea why this happending with Log4j two applications are overlapping the logs into same file....?  Quick support will be appreciated..

1 REPLY 1
Geevarghese Cheria
Cisco Employee

Hi Anil,

   Can you please try setting the additivity of the loggers to false. This will avoid the propagation to the rootLogger.

Reference - java - log4j.properties file - multiple loggers in same class - Stack Overflow

Thanks and Regards,

Geevarghese

Content for Community-Ad

This widget could not be displayed.