Added dateformat based aggregation to LogResource.