cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
0
Helpful
1
Replies

Two CVP Application sending logs message to common log file

Anil Kumar
Level 1
Level 1


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
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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: