Skip to content

Commit 9f2de61

Browse files
committed
added info status statement regarding logging on the console
Signed-off-by: Ceki Gulcu <[email protected]>
1 parent 49f0638 commit 9f2de61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ private void targetWarn(String val) {
8585

8686
@Override
8787
public void start() {
88+
addInfo("BEWARE: Writing to the console can be very slow. Avoid logging to the ");
89+
addInfo("console in production, especially in high volume systems.");
8890
OutputStream targetStream = target.getStream();
8991
// enable jansi only if withJansi set to true
9092
if (withJansi) {

0 commit comments

Comments
 (0)