Improve logging info for startup and shutdown