Fix the logger so errors are reported again.

This commit is contained in:
ElgarL 2013-01-13 16:20:38 +00:00
parent b860e943f6
commit 24f56892ad
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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();