diff options
author | ElgarL <ElgarL@palmergames.com> | 2013-01-13 16:20:38 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2013-01-13 16:20:38 +0000 |
commit | 8863bfa6a102d7b759afff5cd9a1043f870539af (patch) | |
tree | 64cebbe46a4fecd5f2959f6db2da2809e2dd2afb | |
parent | dac89c338a2853050cdb81c2606fb89d4c76e481 (diff) | |
download | Essentials-8863bfa6a102d7b759afff5cd9a1043f870539af.tar Essentials-8863bfa6a102d7b759afff5cd9a1043f870539af.tar.gz Essentials-8863bfa6a102d7b759afff5cd9a1043f870539af.tar.lz Essentials-8863bfa6a102d7b759afff5cd9a1043f870539af.tar.xz Essentials-8863bfa6a102d7b759afff5cd9a1043f870539af.zip |
Fix the logger so errors are reported again.
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GMConfiguration.java | 2 | ||||
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GMConfiguration.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GMConfiguration.java index 95fd35eb0..4fcd0a554 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GMConfiguration.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GMConfiguration.java @@ -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. diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index 8298988e6..3236b9b84 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -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(); |