issue with logging. too verbose in errors