implement #24
add a log rotation to the log file