Only start logging after successfully starting server.