Home / Vulnerability Database / Java : Multiple loggers in same class
Java
Java : Multiple loggers in same class
Classification
OWASP Top 10 2017
CWE
Overview
The application uses several data loggers in the same class. Instead, using logging levels is recommended.
As a rule, the applications records in the transaction history for further processing, debugging, or statistics gathering into the log. Log analysis can be done manually or automatically.
A good practice is to use a single logger object for all objects of that class during the whole period of the program.
References
LOW
DerScanner Severity Score
Do you want to fix Java : Multiple loggers in same class in your application?
See also
Java
Java : Race condition
Java
Java : Text4Shell Vulnerability
Java
