Add some logging
Figure out a global view of partitions.