Change default debug level in function.