Logging: Added logging; Position: Added sequence number related judgments