analysis  log  and send message