enhance debug log