log in addition to alerting the message