BAC-1183: log purges only when they actually happen (#2463)