log debug->error