Output error messages via logging framework