The first WriteToSysLog() occurrence indicates the message is from CFE_ES_DeleteApp instead of CFE_ES_RestartApp: CFE_ES_WriteToSysLog ("CFE_ES_DeleteApp: Cannot Restart a CORE Application: %s.\n",