Set debug level to error in production