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

local logging configuration in compose.yml #292

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

dboulware
Copy link
Contributor

Update of @aromanielloNTIA pr: #283.
Chooses the recommended local logging driver to enable automatic log rotation for all containers. Adding this configuration in the Compose file means that we don't need provisioning solutions to enforce a setting within a sensor's installation of Docker.

This changes the logging driver from json-file to local, so the log format is changed.

(Finally!) resolves #50.

This overrides the default local configuration to allow a maximum of 20 10m files. Max file size was reduced to try to be less of a hit on LTE bandwidth and max-files was increased to keep a longer history on the sensor.

Copy link
Member

@jhazentia jhazentia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dboulware dboulware removed the request for review from aromanielloNTIA June 12, 2024 15:07
@dboulware dboulware merged commit b4cefb7 into master Jun 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sensor log files grow without bound
2 participants