The hollow log is in the shape of a donut, with a narrow gap between the two ends, which is smaller than the head of the squirrel. The squirrel pokes his nose out of one end of the log, into the opposite end of the log, bridging the gap with his head.
The next question: how did the squirrel get inside the log?