added validations for log fields