Separate log records for checkpoint and compaction.