Maint/master/improve purge logging