mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-03 09:30:28 +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");
|
Object level = ((Map<String, String>) getElement("settings", GMconfig).get("logging")).get("level");
|
||||||
if (level instanceof String)
|
if (level instanceof String)
|
||||||
level = (String) level;
|
loggerLevel = (String) level;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Store our mirrors map for parsing later.
|
* Store our mirrors map for parsing later.
|
||||||
|
@ -152,7 +152,7 @@ public class GroupManager extends JavaPlugin {
|
|||||||
ch = new GMLoggerHandler();
|
ch = new GMLoggerHandler();
|
||||||
GroupManager.logger.addHandler(ch);
|
GroupManager.logger.addHandler(ch);
|
||||||
}
|
}
|
||||||
logger.setLevel(Level.ALL);
|
GroupManager.logger.setLevel(Level.ALL);
|
||||||
|
|
||||||
// Create the backup folder, if it doesn't exist.
|
// Create the backup folder, if it doesn't exist.
|
||||||
prepareFileFields();
|
prepareFileFields();
|
||||||
|
Loading…
Reference in New Issue
Block a user