Tried to fix up the logger, might have made it worse. Need to commit to save my work for now