Add log to field length exception