bumped up logging to include truncated params and fixed res location