add debug and trace log to help fix load monitor bug