Allow configuring console log level via system property
This commit is contained in:
parent
a52ea50006
commit
e6b0d43d66
@ -30,7 +30,7 @@ public class BungeeLogger extends Logger
|
||||
addHandler( fileHandler );
|
||||
|
||||
ColouredWriter consoleHandler = new ColouredWriter( reader );
|
||||
consoleHandler.setLevel( Level.INFO );
|
||||
consoleHandler.setLevel( Level.parse( System.getProperty( "net.md_5.bungee.console-log-level", "INFO" ) ) );
|
||||
consoleHandler.setFormatter( new ConciseFormatter( true ) );
|
||||
addHandler( consoleHandler );
|
||||
} catch ( IOException ex )
|
||||
|
Loading…
Reference in New Issue
Block a user