initialization and validations for log entries