Base the log rotation on time instead of the log file size

Change-Id: I22f227fd402071a696fd6dccd688e87d733634eb
Signed-off-by: Martin Sivak <msivak@redhat.com>
(cherry picked from commit fbdb4da80a8dc3169fe97fa7e97bdb9d0734bff6)