more reliable `start-logging' and `stop-logging'
set the correct time intervals