make checkpoint detection independent of logger (a la af0b54c)