#3109: Made file log level configurable
This commit is contained in:
parent
633ff1cfc8
commit
088b2045d0
@ -26,6 +26,7 @@ public class BungeeLogger extends Logger
|
||||
try
|
||||
{
|
||||
FileHandler fileHandler = new FileHandler( filePattern, 1 << 24, 8, true );
|
||||
fileHandler.setLevel( Level.parse( System.getProperty( "net.md_5.bungee.file-log-level", "INFO" ) ) );
|
||||
fileHandler.setFormatter( new ConciseFormatter( false ) );
|
||||
addHandler( fileHandler );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user