Thousands of people attended an ancient Japanese festival in which log riders storm down a hill on a tree trunk.