put the logs is incorrectly written and it should be written as "Put the logs." being its meaning:
Locution adverbial so that it is equivalent to being unfaithful. It is worth putting the horns to someone, wife, husband, boyfriend, girlfriend, lover or beloved.