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

OLAF /tmp boot logs grow endlessly #25

Open
ryanpdx opened this issue Aug 25, 2024 · 0 comments · May be fixed by #29
Open

OLAF /tmp boot logs grow endlessly #25

ryanpdx opened this issue Aug 25, 2024 · 0 comments · May be fixed by #29
Assignees
Labels
bug Something isn't working

Comments

@ryanpdx
Copy link
Member

ryanpdx commented Aug 25, 2024

Current OLAF logs everything to journald and to a log file in /tmp. The log file in /tmp is overwritten on each boot used to show logs since boot for OLAF in it's web interface.

The issue is the file grows endlessly, which can be an issue if card does not periodic restart or the OLAF app is over-logging.

It would be better to not log to /tmp at all and just log to memory with max size (500 or 1000 of last entries?).

@ryanpdx ryanpdx added the bug Something isn't working label Aug 25, 2024
@ryanpdx ryanpdx self-assigned this Aug 25, 2024
@ryanpdx ryanpdx moved this from Todo to In Progress in Space Segment Aug 25, 2024
@ryanpdx ryanpdx moved this from In Progress to New in Space Segment Aug 25, 2024
@ryanpdx ryanpdx moved this from New to In Progress in Space Segment Aug 25, 2024
@ryanpdx ryanpdx linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Implementing
Development

Successfully merging a pull request may close this issue.

1 participant