get logs in intervals