return message from logging