+ added debug output to logger