Improved logging parse error