Skip to content

Commit

Permalink
minor rewording
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Nov 5, 2024
1 parent 78516e7 commit 69ce513
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public class ConsoleAppender<E> extends OutputStreamAppender<E> {
private final static String wrapSystemErr_METHOD_NAME = "wrapSystemErr";
private final static Class<?>[] ARGUMENT_TYPES = { PrintStream.class };

private final static String CONSOLE_APPENDER_WARNING_URL = CoreConstants.CODES_URL+"#slowConsole";

/**
* Sets the value of the <b>Target</b> option. Recognized values are
* "System.out" and "System.err". Any other value will be ignored.
Expand Down Expand Up @@ -86,7 +88,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.");
addInfo("console in production environments, especially in high volume systems.");
addInfo("See also "+CONSOLE_APPENDER_WARNING_URL);
OutputStream targetStream = target.getStream();
// enable jansi only if withJansi set to true
if (withJansi) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public class CoreConstants {
public static final String LINE_SEPARATOR = System.getProperty("line.separator");
public static final int LINE_SEPARATOR_LEN = LINE_SEPARATOR.length();

public static final String CODES_URL = "http://logback.qos.ch/codes.html";
public static final String MANUAL_URL_PREFIX = "http://logback.qos.ch/manual/";
public static final String CODES_URL = "https://logback.qos.ch/codes.html";
public static final String MANUAL_URL_PREFIX = "https://logback.qos.ch/manual/";
public static final String MORE_INFO_PREFIX = "For more information, please visit ";

/**
Expand Down

0 comments on commit 69ce513

Please sign in to comment.