Duplicate statements in logger for same action after action tracing turned on
Article ID: 192124
Clarity PPM On PremiseClarity PPM SaaS
STEPS TO REPRODUCE
1. Log into Clarity PPM NSA. 2. Click the the Server properties button. 3. Select the Logs tab then Edit Configuration. 4. Tick the 'Detect Log Configuration Changes Automatically' option on 5. Set the category priority level to Warn for categories such as trace.server and trace.server.user.admin. 6. Save the changes
Expected Results: In the logger file we expect to one statement Actual Results: In the logger file we see same action repeated twice
If the logger has appender associated with it then it writes the log and passes the event to its parent logger. If the parent logger also has an appender associated, then it also writes the log and the same continues up in the hierarchy until a parent logger is found without any appender or root logger is reached.
To stop propagating the event to parent, the ‘additive’ property of the logger can be set to false.
Here is the documentation related to this property