replace printStackTrace with logging in Pig2DotGenerator