Disabled debug printouts when debug mode is turned off in config.