Add a logging partitioner, for debugging purposes