splitting logs by date