Log graceful shutdown (exit(), SIGINT, SIGTERM etc.).