diff --git a/docs/CHANGELOG.asciidoc b/docs/CHANGELOG.asciidoc index 0b62426c44..74120ce6c5 100644 --- a/docs/CHANGELOG.asciidoc +++ b/docs/CHANGELOG.asciidoc @@ -30,6 +30,10 @@ == {es} version 8.15.0 +=== Enhancements + +* Log 'No statistics at.. ' message as a warning. (See {ml-pull}2684[#2684].) + === Bug Fixes * Fix "stack use after scope" memory error. (See {ml-pull}2673[#2673].) diff --git a/lib/model/CIndividualModel.cc b/lib/model/CIndividualModel.cc index 1fb67d2422..48075e628f 100644 --- a/lib/model/CIndividualModel.cc +++ b/lib/model/CIndividualModel.cc @@ -133,10 +133,10 @@ bool CIndividualModel::isPopulation() const { CIndividualModel::TOptionalUInt64 CIndividualModel::currentBucketCount(std::size_t pid, core_t::TTime time) const { if (!this->bucketStatsAvailable(time)) { - LOG_ERROR(<< "No statistics at " << time << " for " << this->description() - << ", current bucket = " << this->printCurrentBucket() - << ", partitionFieldValue = " << this->dataGatherer().partitionFieldValue() - << ", personName = " << this->dataGatherer().personName(pid)); + LOG_WARN(<< "No statistics at " << time << " for " << this->description() + << ", current bucket = " << this->printCurrentBucket() + << ", partitionFieldValue = " << this->dataGatherer().partitionFieldValue() + << ", personName = " << this->dataGatherer().personName(pid)); return TOptionalUInt64(); }