add debug and trace log to help fix load monitor bug

Trace and fix load monitor iterm bug