We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4af4bbf + dbce274 commit 672e757Copy full SHA for 672e757
common/src/main/java/com/fox2code/foxloader/launcher/LoggerHelper.java
@@ -209,10 +209,14 @@ public synchronized void publish(LogRecord record) {
209
210
private static class SystemOutConsoleHandler extends ConsoleHandler {
211
SystemOutConsoleHandler() {
212
- setOutputStream(System.out);
213
setFormatter(new FoxLoaderConsoleLogFormatter());
214
setLevel(Level.ALL);
215
}
+
216
+ @Override
217
+ protected synchronized void setOutputStream(OutputStream out) throws SecurityException {
218
+ super.setOutputStream(System.out);
219
+ }
220
221
222
private static class CantInstallLoggerHelperException extends Exception {
0 commit comments