adding datetime filter to logs