store log entry
load entry by id
getbyperiod