Finish up startup and shutdown logging