I and my team spent quite some time trying to disable Graphiti's logger using the environment variable GRAPHITI_DEBUG=false and the configuration block:
Graphiti.configure do |config|
config.debug = false
end
But the logger was still printing debug statements because the debugger is forcefully turned on if the Rails debugger level is 0. This change allows the debugger to be turned off.
I and my team spent quite some time trying to disable Graphiti's logger using the environment variable
GRAPHITI_DEBUG=false
and the configuration block:But the logger was still printing debug statements because the debugger is forcefully turned on if the Rails debugger level is 0. This change allows the debugger to be turned off.
Complementary PR: https://github.com/graphiti-api/graphiti/pull/174