Skip to content

Commit

Permalink
Merge pull request #2416 in ITERATE/cyberduck from bugfix/MD-14131 to…
Browse files Browse the repository at this point in the history
… master

* commit 'a8b6eaca97fb3803d4c872160f727657ab8d7039':
  Avoid stack overflow when no appenders are configured.
  • Loading branch information
automerge committed May 5, 2021
2 parents 91b9d62 + a8b6eac commit 745598c
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -18,13 +18,18 @@
import org.apache.commons.io.output.NullOutputStream;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.helpers.LogLog;

import java.io.OutputStream;
import java.io.PrintStream;

public class LoggerPrintStream extends PrintStream {
private static final Logger log = Logger.getLogger(LoggerPrintStream.class);

static {
LogLog.setQuietMode(true);
}

private final Level level;

public LoggerPrintStream() {
Expand Down

0 comments on commit 745598c

Please sign in to comment.