Merge pull request #1308 from clebertsuconic/2.2.x

Adding log.warns case there's an issues with the counters