add more debug log support