correct parameters passed to logging function for validators