change logging path
add logging and mailer report