mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
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