fix logging

Add back the logging that I commented out while testing on 0.4.3