made logging more verbose to hopefully pinpoint problems