Since physical logging is used, it's straightforward to implement writing log. Basically, after every modification, an update log needs to be written. The method RecoveryMgr::WriteUpdateLog is used to accomplish this.