turn off debug logging for some functions