add methods to log file dao