mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 01:27:40 +01:00
Fix the logger so errors are reported again.
This commit is contained in:
parent
b860e943f6
commit
24f56892ad
@ -112,7 +112,7 @@ public class GMConfiguration {
|
||||
|
||||
Object level = ((Map<String, String>) getElement("settings", GMconfig).get("logging")).get("level");
|
||||
if (level instanceof String)
|
||||
level = (String) level;
|
||||
loggerLevel = (String) level;
|
||||
|
||||
/*
|
||||
* Store our mirrors map for parsing later.
|
||||
|
@ -152,7 +152,7 @@ public class GroupManager extends JavaPlugin {
|
||||
ch = new GMLoggerHandler();
|
||||
GroupManager.logger.addHandler(ch);
|
||||
}
|
||||
logger.setLevel(Level.ALL);
|
||||
GroupManager.logger.setLevel(Level.ALL);
|
||||
|
||||
// Create the backup folder, if it doesn't exist.
|
||||
prepareFileFields();
|
||||
|
Loading…
Reference in New Issue
Block a user