Skip to content

Commit c6b6969

Browse files
committed
Fix nasa#1712, Make commands INFO type
1 parent 00fe82a commit c6b6969

31 files changed

+1578
-1635
lines changed

Diff for: modules/es/config/default_cfe_es_fcncodes.h

+11-11
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
** the following telemetry:
366366
** - \b \c \ES_CMDPC - command execution counter will
367367
** increment
368-
** - The #CFE_ES_ONE_APP_EID debug event message will be
368+
** - The #CFE_ES_ONE_APP_INF_EID informational event message will be
369369
** generated.
370370
** - Receipt of the #CFE_ES_OneAppTlm_t telemetry packet
371371
**
@@ -401,7 +401,7 @@
401401
** the following telemetry:
402402
** - \b \c \ES_CMDPC - command execution counter will
403403
** increment
404-
** - The #CFE_ES_ALL_APPS_EID debug event message will be
404+
** - The #CFE_ES_ALL_APPS_INF_EID informational event message will be
405405
** generated.
406406
** - The file specified in the command (or the default specified
407407
** by the #CFE_PLATFORM_ES_DEFAULT_APP_LOG_FILE configuration parameter) will be
@@ -478,7 +478,7 @@
478478
** the following telemetry:
479479
** - \b \c \ES_CMDPC - command execution counter will
480480
** increment
481-
** - The #CFE_ES_SYSLOG2_EID debug event message will be
481+
** - The #CFE_ES_SYSLOG2_INF_EID informational event message will be
482482
** generated.
483483
** - The file specified in the command (or the default specified
484484
** by the #CFE_PLATFORM_ES_DEFAULT_SYSLOG_FILE configuration parameter) will be
@@ -555,7 +555,7 @@
555555
** the following telemetry:
556556
** - \b \c \ES_CMDPC - command execution counter will
557557
** increment
558-
** - The #CFE_ES_ERLOG2_EID debug event message will be
558+
** - The #CFE_ES_ERLOG2_INF_EID informational event message will be
559559
** generated.
560560
** - The file specified in the command (or the default specified
561561
** by the #CFE_PLATFORM_ES_DEFAULT_ER_LOG_FILE configuration parameter) will be
@@ -606,7 +606,7 @@
606606
** - \b \c \ES_PERFDATASTART - Data Start Index will go to zero
607607
** - \b \c \ES_PERFDATAEND - Data End Index will go to zero
608608
** - \b \c \ES_PERFDATACNT - Performance Data Counter will go to zero
609-
** - The #CFE_ES_PERF_STARTCMD_EID debug event message will be
609+
** - The #CFE_ES_PERF_STARTCMD_INF_EID informational event message will be
610610
** generated.
611611
**
612612
** \par Error Conditions
@@ -694,7 +694,7 @@
694694
** increment
695695
** - \b \c \ES_PERFFLTRMASK - the current performance filter mask
696696
** value(s) should reflect the commanded value
697-
** - The #CFE_ES_PERF_FILTMSKCMD_EID debug event message will be
697+
** - The #CFE_ES_PERF_FILTMSKCMD_INF_EID informational event message will be
698698
** generated.
699699
**
700700
** \par Error Conditions
@@ -731,7 +731,7 @@
731731
** increment
732732
** - \b \c \ES_PERFTRIGMASK - the current performance trigger mask
733733
** value(s) should reflect the commanded value
734-
** - The #CFE_ES_PERF_TRIGMSKCMD_EID debug event message will be
734+
** - The #CFE_ES_PERF_TRIGMSKCMD_INF_EID informational event message will be
735735
** generated.
736736
**
737737
** \par Error Conditions
@@ -770,7 +770,7 @@
770770
** increment
771771
** - \b \c \ES_SYSLOGMODE - Current System Log Mode should reflect
772772
** the commanded value
773-
** - The #CFE_ES_SYSLOGMODE_EID debug event message will be
773+
** - The #CFE_ES_SYSLOGMODE_INF_EID informational event message will be
774774
** generated.
775775
**
776776
** \par Error Conditions
@@ -924,7 +924,7 @@
924924
** the following telemetry:
925925
** - \b \c \ES_CMDPC - command execution counter will
926926
** increment
927-
** - The #CFE_ES_TLM_POOL_STATS_INFO_EID debug event message will be
927+
** - The #CFE_ES_TLM_POOL_STATS_INF_EID informational event message will be
928928
** generated.
929929
** - The \link #CFE_ES_MemStatsTlm_t Memory Pool Statistics Telemetry Packet \endlink
930930
** is produced
@@ -963,7 +963,7 @@
963963
** the following telemetry:
964964
** - \b \c \ES_CMDPC - command execution counter will
965965
** increment
966-
** - The #CFE_ES_CDS_REG_DUMP_INF_EID debug event message will be
966+
** - The #CFE_ES_CDS_REG_DUMP_INF_EID informational event message will be
967967
** generated.
968968
** - The file specified in the command (or the default specified
969969
** by the #CFE_PLATFORM_ES_DEFAULT_CDS_REG_DUMP_FILE configuration parameter) will be
@@ -1005,7 +1005,7 @@
10051005
** the following telemetry:
10061006
** - \b \c \ES_CMDPC - command execution counter will
10071007
** increment
1008-
** - The #CFE_ES_TASKINFO_EID debug event message will be
1008+
** - The #CFE_ES_TASKINFO_INF_EID informational event message will be
10091009
** generated.
10101010
** - The file specified in the command (or the default specified
10111011
** by the #CFE_PLATFORM_ES_DEFAULT_TASK_LOG_FILE configuration parameter) will be

Diff for: modules/es/eds/cfe_es.xml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@
11811181
the following telemetry:
11821182
- \b \c \ES_CMDPC - command execution counter will
11831183
increment
1184-
- The #CFE_ES_ONE_APP_EID debug event message will be
1184+
- The #CFE_ES_ONE_APP_INF_EID informational event message will be
11851185
generated. NOTE: This event message only identifies that the
11861186
act of stopping the application has begun, not that it has completed.
11871187
- Receipt of the #CFE_ES_APP_TLM_t telemetry packet
@@ -1229,7 +1229,7 @@
12291229
the following telemetry:
12301230
- \b \c \ES_CMDPC - command execution counter will
12311231
increment
1232-
- The #CFE_ES_ALL_APPS_EID debug event message will be
1232+
- The #CFE_ES_ALL_APPS_INF_EID informational event message will be
12331233
generated.
12341234
- The file specified in the command (or the default specified
12351235
by the #CFE_ES_DEFAULT_APP_LOG_FILE configuration parameter) will be
@@ -1328,7 +1328,7 @@
13281328
the following telemetry:
13291329
- \b \c \ES_CMDPC - command execution counter will
13301330
increment
1331-
- The #CFE_ES_SYSLOG2_EID debug event message will be
1331+
- The #CFE_ES_SYSLOG2_INF_EID informational event message will be
13321332
generated.
13331333
- The file specified in the command (or the default specified
13341334
by the #CFE_ES_DEFAULT_SYSLOG_FILE configuration parameter) will be
@@ -1427,7 +1427,7 @@
14271427
the following telemetry:
14281428
- \b \c \ES_CMDPC - command execution counter will
14291429
increment
1430-
- The #CFE_ES_ERLOG2_EID debug event message will be
1430+
- The #CFE_ES_ERLOG2_INF_EID informational event message will be
14311431
generated.
14321432
- The file specified in the command (or the default specified
14331433
by the #CFE_ES_DEFAULT_ER_LOG_FILE configuration parameter) will be
@@ -1488,7 +1488,7 @@
14881488
- \b \c \ES_PERFDATASTART - Data Start Index will go to zero
14891489
- \b \c \ES_PERFDATAEND - Data End Index will go to zero
14901490
- \b \c \ES_PERFDATACNT - Performance Data Counter will go to zero
1491-
- The #CFE_ES_PERF_STARTCMD_EID debug event message will be
1491+
- The #CFE_ES_PERF_STARTCMD_INF_EID informational event message will be
14921492
generated.
14931493

14941494
\par Error Conditions
@@ -1592,7 +1592,7 @@
15921592
increment
15931593
- \B \C \ES_PERFFLTRMASK - the current performance filter mask
15941594
value(s) should reflect the commanded value
1595-
- The #CFE_ES_PERF_FILTMSKCMD_EID debug event message will be
1595+
- The #CFE_ES_PERF_FILTMSKCMD_INF_EID informational event message will be
15961596
generated.
15971597

15981598
\par Error Conditions
@@ -1640,7 +1640,7 @@
16401640
increment
16411641
- \b \c \ES_PERFTRIGMASK - the current performance trigger mask
16421642
value(s) should reflect the commanded value
1643-
- The #CFE_ES_PERF_TRIGMSKCMD_EID debug event message will be
1643+
- The #CFE_ES_PERF_TRIGMSKCMD_INF_EID informational event message will be
16441644
generated.
16451645

16461646
\par Error Conditions
@@ -1691,7 +1691,7 @@
16911691
increment
16921692
- \b \c \ES_SYSLOGMODE - Current System Log Mode should reflect
16931693
the commanded value
1694-
- The #CFE_ES_SYSLOGMODE_EID debug event message will be
1694+
- The #CFE_ES_SYSLOGMODE_INF_EID informational event message will be
16951695
generated.
16961696

16971697
\par Error Conditions
@@ -1894,7 +1894,7 @@
18941894
the following telemetry:
18951895
- \b \c \ES_CMDPC - command execution counter will
18961896
increment
1897-
- The #CFE_ES_TLM_POOL_STATS_INFO_EID debug event message will be
1897+
- The #CFE_ES_TLM_POOL_STATS_INF_EID informational event message will be
18981898
generated.
18991899
- The \link #CFE_ES_MEMSTATS_TLM_t Memory Pool Statistics Telemetry Packet \endlink
19001900
is produced
@@ -1945,7 +1945,7 @@
19451945
the following telemetry:
19461946
- \b \c \ES_CMDPC - command execution counter will
19471947
increment
1948-
- The #CFE_ES_CDS_REG_DUMP_INF_EID debug event message will be
1948+
- The #CFE_ES_CDS_REG_DUMP_INF_EID informational event message will be
19491949
generated.
19501950
- The file specified in the command (or the default specified
19511951
by the #CFE_ES_DEFAULT_CDS_REG_DUMP_FILE configuration parameter) will be
@@ -1997,7 +1997,7 @@
19971997
the following telemetry:
19981998
- \b \c \ES_CMDPC - command execution counter will
19991999
increment
2000-
- The #CFE_ES_TASKINFO_EID debug event message will be
2000+
- The #CFE_ES_TASKINFO_INF_EID informational event message will be
20012001
generated.
20022002
- The file specified in the command (or the default specified
20032003
by the #CFE_ES_DEFAULT_TASK_LOG_FILE configuration parameter) will be

Diff for: modules/es/fsw/inc/cfe_es_eventids.h

+24-24
Original file line numberDiff line numberDiff line change
@@ -186,24 +186,24 @@
186186
/**
187187
* \brief ES Query One Application Command Success Event ID
188188
*
189-
* \par Type: DEBUG
189+
* \par Type: INFORMATION
190190
*
191191
* \par Cause:
192192
*
193193
* \link #CFE_ES_QUERY_ONE_CC ES Query One Application Command \endlink success.
194194
*/
195-
#define CFE_ES_ONE_APP_EID 15
195+
#define CFE_ES_ONE_APP_INF_EID 15
196196

197197
/**
198198
* \brief ES Query All Applications Command Success Event ID
199199
*
200-
* \par Type: DEBUG
200+
* \par Type: INFORMATION
201201
*
202202
* \par Cause:
203203
*
204204
* \link #CFE_ES_QUERY_ALL_CC ES Query All Applications Command \endlink success.
205205
*/
206-
#define CFE_ES_ALL_APPS_EID 16
206+
#define CFE_ES_ALL_APPS_INF_EID 16
207207

208208
/**
209209
* \brief ES Clear System Log Command Success Event ID
@@ -219,13 +219,13 @@
219219
/**
220220
* \brief ES Write System Log Command Success Event ID
221221
*
222-
* \par Type: DEBUG
222+
* \par Type: INFORMATION
223223
*
224224
* \par Cause:
225225
*
226226
* \link #CFE_ES_CLEAR_SYS_LOG_CC ES Write System Log Command \endlink success.
227227
*/
228-
#define CFE_ES_SYSLOG2_EID 18
228+
#define CFE_ES_SYSLOG2_INF_EID 18
229229

230230
/**
231231
* \brief ES Clear Exception Reset Log Command Success Event ID
@@ -241,13 +241,13 @@
241241
/**
242242
* \brief ES Write Exception Reset Log Complete Event ID
243243
*
244-
* \par Type: DEBUG
244+
* \par Type: INFORMATION
245245
*
246246
* \par Cause:
247247
*
248248
* Request to write the Exception Reset log successfully completed.
249249
*/
250-
#define CFE_ES_ERLOG2_EID 20
250+
#define CFE_ES_ERLOG2_INF_EID 20
251251

252252
/**
253253
* \brief ES Invalid Message ID Received Event ID
@@ -628,13 +628,13 @@
628628
/**
629629
* \brief ES Start Performance Analyzer Data Collection Command Success Event ID
630630
*
631-
* \par Type: DEBUG
631+
* \par Type: INFORMATION
632632
*
633633
* \par Cause:
634634
*
635635
* \link #CFE_ES_START_PERF_DATA_CC ES Start Performance Analyzer Data Collection Command \endlink success.
636636
*/
637-
#define CFE_ES_PERF_STARTCMD_EID 57
637+
#define CFE_ES_PERF_STARTCMD_INF_EID 57
638638

639639
/**
640640
* \brief ES Start Performance Analyzer Data Collection Command Idle Check Failed Event ID
@@ -669,7 +669,7 @@
669669
*
670670
* \link #CFE_ES_STOP_PERF_DATA_CC ES Stop Performance Analyzer Data Collection Command \endlink success.
671671
* Note this event signifies the request to stop and write the performance data has been successfully
672-
* submitted. The successful completion will generate a #CFE_ES_PERF_DATAWRITTEN_EID event.
672+
* submitted. The successful completion will generate a #CFE_ES_PERF_DATAWRITTEN_INF_EID event.
673673
*/
674674
#define CFE_ES_PERF_STOPCMD_EID 60
675675

@@ -688,13 +688,13 @@
688688
/**
689689
* \brief ES Set Performance Analyzer Filter Mask Command Success Event ID
690690
*
691-
* \par Type: DEBUG
691+
* \par Type: INFORMATION
692692
*
693693
* \par Cause:
694694
*
695695
* \link #CFE_ES_SET_PERF_FILTER_MASK_CC ES Set Performance Analyzer Filter Mask Command \endlink success.
696696
*/
697-
#define CFE_ES_PERF_FILTMSKCMD_EID 63
697+
#define CFE_ES_PERF_FILTMSKCMD_INF_EID 63
698698

699699
/**
700700
* \brief ES Set Performance Analyzer Filter Mask Command Invalid Index Event ID
@@ -711,13 +711,13 @@
711711
/**
712712
* \brief ES Set Performance Analyzer Trigger Mask Command Success Event ID
713713
*
714-
* \par Type: DEBUG
714+
* \par Type: INFORMATION
715715
*
716716
* \par Cause:
717717
*
718718
* \link #CFE_ES_SET_PERF_TRIGGER_MASK_CC ES Set Performance Analyzer Trigger Mask Command \endlink success.
719719
*/
720-
#define CFE_ES_PERF_TRIGMSKCMD_EID 65
720+
#define CFE_ES_PERF_TRIGMSKCMD_INF_EID 65
721721

722722
/**
723723
* \brief ES Set Performance Analyzer Trigger Mask Command Invalid Mask Event ID
@@ -746,13 +746,13 @@
746746
/**
747747
* \brief Performance Log Write Success Event ID
748748
*
749-
* \par Type: DEBUG
749+
* \par Type: INFORMATION
750750
*
751751
* \par Cause:
752752
*
753753
* Request to write the performance log successfully completed.
754754
*/
755-
#define CFE_ES_PERF_DATAWRITTEN_EID 68
755+
#define CFE_ES_PERF_DATAWRITTEN_INF_EID 68
756756

757757
/**
758758
* \brief ES Register CDS API Failed Event ID
@@ -768,13 +768,13 @@
768768
/**
769769
* \brief ES Set System Log Overwrite Mode Command Success Event ID
770770
*
771-
* \par Type: DEBUG
771+
* \par Type: INFORMATION
772772
*
773773
* \par Cause:
774774
*
775775
* \link #CFE_ES_OVER_WRITE_SYS_LOG_CC ES Set System Log Overwrite Mode Command \endlink success.
776776
*/
777-
#define CFE_ES_SYSLOGMODE_EID 70
777+
#define CFE_ES_SYSLOGMODE_INF_EID 70
778778

779779
/**
780780
* \brief ES Set System Log Overwrite Mode Command Failed Event ID
@@ -885,13 +885,13 @@
885885
/**
886886
* \brief ES Telemeter Memory Statistics Command Success Event ID
887887
*
888-
* \par Type: DEBUG
888+
* \par Type: INFORMATION
889889
*
890890
* \par Cause:
891891
*
892892
* \link #CFE_ES_SEND_MEM_POOL_STATS_CC ES Telemeter Memory Statistics Command \endlink success.
893893
*/
894-
#define CFE_ES_TLM_POOL_STATS_INFO_EID 81
894+
#define CFE_ES_TLM_POOL_STATS_INF_EID 81
895895

896896
/**
897897
* \brief ES Telemeter Memory Statistics Command Invalid Handle Event ID
@@ -908,7 +908,7 @@
908908
/**
909909
* \brief ES Write Critical Data Store Registry Command Success Event ID
910910
*
911-
* \par Type: DEBUG
911+
* \par Type: INFORMATION
912912
*
913913
* \par Cause:
914914
*
@@ -955,13 +955,13 @@
955955
/**
956956
* \brief ES Write All Task Data Command Success Event ID
957957
*
958-
* \par Type: DEBUG
958+
* \par Type: INFORMATION
959959
*
960960
* \par Cause:
961961
*
962962
* \link #CFE_ES_QUERY_ALL_TASKS_CC ES Write All Task Data Command \endlink success.
963963
*/
964-
#define CFE_ES_TASKINFO_EID 87
964+
#define CFE_ES_TASKINFO_INF_EID 87
965965

966966
/**
967967
* \brief ES Write All Task Data Command Filename Parse or File Create Failed Event ID

Diff for: modules/es/fsw/src/cfe_es_erlog.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void CFE_ES_BackgroundERLogFileEventHandler(void *Meta, CFE_FS_FileWriteEvent_t
239239
switch (Event)
240240
{
241241
case CFE_FS_FileWriteEvent_COMPLETE:
242-
CFE_EVS_SendEvent(CFE_ES_ERLOG2_EID, CFE_EVS_EventType_DEBUG, "%s written:Size=%lu",
242+
CFE_EVS_SendEvent(CFE_ES_ERLOG2_INF_EID, CFE_EVS_EventType_INFORMATION, "%s written:Size=%lu",
243243
BgFilePtr->FileWrite.FileName, (unsigned long)Position);
244244
break;
245245

0 commit comments

Comments
 (0)