Skip to content
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

Log Handling Subsystem #13

Closed
ztnel opened this issue Jan 27, 2023 · 0 comments · Fixed by #42
Closed

Log Handling Subsystem #13

ztnel opened this issue Jan 27, 2023 · 0 comments · Fixed by #42
Assignees
Labels
feature New feature or request firmware embedded software development

Comments

@ztnel
Copy link
Contributor

ztnel commented Jan 27, 2023

Description

We need to implement a logging solution to aid in debugging as well as track the state of the firmware in production. Logging will be performed through a UDP configured socket. In the case that the system is offline (offline detection required), logs will be sent over SPI to the SD card. The logging subsystem will be provisioned a single socket for logging.

The production systems will be a logging client streaming logs to a log aggregator such as Loki. Debug releases will have a socket server which can be connected to in order to view the active logs:

socat - UDP:192.168.2.34:4000
1643325325.55223 DEBUG main:10 Executing scheduled state caching job
1643325326.46846 CRITICAL eeprom_read:18 EEPROM read to address 0x56 failed
...
@ztnel ztnel added feature New feature or request firmware embedded software development labels Jan 27, 2023
@ztnel ztnel self-assigned this Jan 27, 2023
@ztnel ztnel assigned BrandonLucasZhu and unassigned ztnel Jan 28, 2024
@ztnel ztnel mentioned this issue Feb 26, 2024
2 tasks
@ztnel ztnel closed this as completed in #42 Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request firmware embedded software development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants