It was 9.2 on the Richter. That's energy equivalent to more than 32 billion tons of TNT.There was an earthquake in Alaska a few years ago that was something over 9.0 on the Richter scale. Quite a few ordinary buildings survived with minimal damage. It is pretty hard for a building to survive if the ground turns upside down and drops into a hole, but it is surprising what buildings survive just a really good shake.
A well built log house might move off the foundation in a 6 or 7 point and the innards would like jump around a lot but the structure should remain ok.