The phrase "to burn the logs" means to use up or get rid of all the wooden logs by setting them on fire.