Manual:UpgradeLogging.php

Details
upgradeLogging.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script to perform replication-safe online upgrade for log_id/log_deleted fields.