log monitor error or action