Commit b54b9beb authored by kfox's avatar kfox

Only log successful configuration changes

parent 52a338c9
......@@ -258,8 +258,6 @@ _Control_Command_Spawn(Athena *athena, CCNxName *ccnxName, const char *command,
}
parcURI_Release(&connectionURI);
athenaInterestControl_LogConfigurationChange(athena, ccnxName, "%s", connectionSpecification);
pthread_t thread;
// Passing in a reference that will be released by the new thread as the thread may not
// have time to acquire a reference itself before we release our reference.
......@@ -269,6 +267,8 @@ _Control_Command_Spawn(Athena *athena, CCNxName *ccnxName, const char *command,
}
athena_Release(&newAthena);
athenaInterestControl_LogConfigurationChange(athena, ccnxName, "%s", connectionSpecification);
responseMessage = _create_response(athena, ccnxName, "Athena process thread started on %s", connectionSpecification);
return responseMessage;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment