diff --git a/core/AELog.java b/core/AELog.java index 3c7956c7c..743d024e8 100644 --- a/core/AELog.java +++ b/core/AELog.java @@ -40,7 +40,10 @@ public class AELog public static void grinder(String o) { - log( Level.DEBUG, "grinder: " + o ); + if ( AEConfig.instance.isFeatureEnabled( AEFeature.GrinderLogging ) ) + { + log( Level.DEBUG, "grinder: " + o ); + } } public static void error(Throwable e) diff --git a/core/features/AEFeature.java b/core/features/AEFeature.java index 2579d03a1..f60693843 100644 --- a/core/features/AEFeature.java +++ b/core/features/AEFeature.java @@ -48,7 +48,7 @@ public enum AEFeature DuplicateItems("Misc", false), Profiler("Services", false), VersionChecker("Services"), Debug("Misc", false), Creative("Misc"), - Logging("Misc"), IntegrationLogging("Misc", false), CustomRecipes("Crafting", false), WebsiteRecipes("Misc", false), + GrinderLogging("Misc",false), Logging("Misc"), IntegrationLogging("Misc", false), CustomRecipes("Crafting", false), WebsiteRecipes("Misc", false), enableFacadeCrafting("Crafting"), inWorldSingularity("Crafting"), inWorldFluix("Crafting"), inWorldPurification("Crafting"), UpdateLogging("Misc", false), diff --git a/core/features/registries/GrinderRecipeManager.java b/core/features/registries/GrinderRecipeManager.java index c108c1165..96b251731 100644 --- a/core/features/registries/GrinderRecipeManager.java +++ b/core/features/registries/GrinderRecipeManager.java @@ -111,7 +111,7 @@ public class GrinderRecipeManager implements IGrinderRegistry, IOreListener } } - log( "Count not find recipe for " + Platform.getItemDisplayName( input ) ); + log( "Could not find recipe for " + Platform.getItemDisplayName( input ) ); } return null;