validation for logbook and loggedday.