From 9f2de61c9e3f2a9f6f8fa681710e96f7afec8f07 Mon Sep 17 00:00:00 2001 From: Ceki Gulcu Date: Tue, 5 Nov 2024 14:59:17 +0100 Subject: [PATCH] added info status statement regarding logging on the console Signed-off-by: Ceki Gulcu --- .../src/main/java/ch/qos/logback/core/ConsoleAppender.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java b/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java index c789b4b503..1bd0cd9426 100644 --- a/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java +++ b/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java @@ -85,6 +85,8 @@ private void targetWarn(String val) { @Override public void start() { + addInfo("BEWARE: Writing to the console can be very slow. Avoid logging to the "); + addInfo("console in production, especially in high volume systems."); OutputStream targetStream = target.getStream(); // enable jansi only if withJansi set to true if (withJansi) {