-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialize system log mode implementation doesn't match requirement cES1522 #410
Comments
Recommend the requirement be reworded to say "Upon a Processor Reset, the cFE shall set the System Log Mode to the platform default" |
I should have included the rational: "Want to preserve the System Events that may have captured the cause of the processor reset." So intent was to specifically override on a processor reset. Definitely open for discussion... |
And one can achieve (or fail to achieve) the goal stated in the rationale either way. It is just as easy to lose the syslog information with it set to discard, as the log may have been full already when the event occurred. At the end of the day this is just a system integration issue. Seems pretty cut and dry to me - cfe cannot "enforce" that deployments are correctly configured. |
It's definitely one for the architects @acudmore @jwilmot. I'd think the vision in mind was for typical use default to overwrite for power on reset, force to discard on processor reset. User setting to discard at power on is certainly their choice to make, for which the discard on processor reset has no effect. |
Path forward - separate configurable default for power on and processor reset. Default power on to overwrite and processor reset to discard. Requirements will be updated to match (will like req issue to this one). Users can modify however desired, but comes out of the box with the configuration that matches initial intent. |
See cES1522 and cES1523 updates in #509 |
Fix #410, separate SYSLOG configurable defaults for power on and proc…
Is your feature request related to a problem? Please describe.
Requirement cES1522 "Upon a Processor Reset, the cFE shall set the System Log Mode to discard."
Implementation:
cFE/fsw/cfe-core/src/es/cfe_es_task.c
Lines 236 to 239 in 5d7d766
The build verification test just happens to pass because the sample configuration defaults the mode to discard.
Describe the solution you'd like
Update requirement or implementation.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: