Adjusting logs and cleaning comments