-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Please remove slowness warning in console appender
logback/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java
Lines 91 to 93 in a07cfd5
| addInfo("BEWARE: Writing to the console can be very slow. Avoid logging to the "); | |
| addInfo("console in production environments, especially in high volume systems."); | |
| addInfo("See also "+CONSOLE_APPENDER_WARNING_URL); |
because most modern applications want to send logs to console:
https://platform9.com/blog/kubernetes-logging-best-practices/
A best practice is to send all application logs to stdout and all error logs to stderr.
https://logz.io/blog/a-practical-guide-to-kubernetes-logging/#simple_example
The best practice is to write your application logs to the standard output (stdout) and standard error (stderr) streams
[edit] Additionally, I realized that I saw this info-level status message because there was another warning-level status message in my app.
Jallibad