Java

Java : Logging into system output

Classification

Overview

The application uses unstructured logging (error messages are outputted to standard out or err). Instead, it is recommended to use a structured logging, which can generate a log with the levels, time stamps, standard formatting. Using standard streams to output error messages while there is a mechanism of structured logging in a program can lead to absence of critical information in the log.

Outputting error messages to standard streams is only permissible on the early stages of development.

LOW

DerScanner Severity Score

Check your Java code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.