Update for log4j2

This commit is contained in:
Christian committed 2013-12-16 11:47:48 -05:00
1 parent 3b2994a3de
commit 557357fe17
51 files changed
+305 -515

No files matched your search

@@ -15,7 +15,7 @@ package cpw.mods.fml.common;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Map;
import java.util.logging.Level;
import org.apache.logging.log4j.Level;
import com.google.common.base.Throwables;
import com.google.common.collect.Maps;
@@ -66,7 +66,7 @@ public class MetadataCollection
}
catch (JsonParseException e)
{
FMLLog.log(Level.SEVERE, e, "The mcmod.info file in %s cannot be parsed as valid JSON. It will be ignored", sourceName);
FMLLog.log(Level.ERROR, e, "The mcmod.info file in %s cannot be parsed as valid JSON. It will be ignored", sourceName);
return new MetadataCollection();
}
catch (Exception e)