|
CTS-SAT-1-OBC-Firmware
|
Logs can go to the following locations ("sinks"):
In deployment, "logging" is disabled by default. It is recommended to enable radio logging at the start of a pass, and disable it at the end of a pass.
Logging to file is less well-tested than most satellite features. By default, to be in a "fail-safe state", logging to file is disabled.
Do not fear enabling it, but understand that you may experience more system restarts than normal, and certain features may be slower/broken with logging-to-file enabled.
A new log file is started periodically, based on configuration variable LOG_file_rotation_interval_sec.
By default, the radio log sink is disabled.
This procedure is recommended at the start of passes.
This procedure is recommended at the end of passes, and right before bulk data transfers.
By default, debug logs are turned off. Debug logs are any log message that the developer(s) decided are mostly only useful under off-nominal or "debugging" scenarios, and are otherwise "spam".
Debug logs are masked off for all log sinks, but are masked on for all log systems. Thus, you must only use the log_set_sink_debugging_messages_state, and not the log_set_system_debugging_messages_state command (at minimum).