append simple log output if debug==true