make logging tests work deterministically