Why do logs collect soot?

Sooting is a result of impingement caused by incomplete combustion, i.e. flames coming in contact with a surface, cooling the flame, and preventing combustion.