Only shut down Logger if the application is being actually started