Log messages via exception