Log a checkpoint during a clean shutdown, use that LSN to limit recovery.
Truncate logs in the second pass, when we know the checkpoint LSN we are starting from.  Fix "wt printlog" to enable logging and fail more gracefully if logging is not enabled.
Log a checkpoint if recovery modifies anything.  Also set the checkpoint LSN so that old logs can be archived.