Note that the log followed you when you walked near it.
Somehow you need to stop the log long enough to cross it.
That rock on the ground is big enough to stop it.
Use the rock on the river.
Walk to the log to get it to move further.
Another log should appear at the top of the screen.