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

Make mdsip logging compatible with the automatic log management features provided by the operating system #2803

Open
mwinkel-dev opened this issue Aug 8, 2024 · 1 comment
Labels
feature Indicates new feature requests or implementations

Comments

@mwinkel-dev
Copy link
Contributor

Affiliation
MIT PSFC

Description
Desirable to have mdsip logs compatible with the standard log management features provided by the operating system. (Presently, the mdsip logs require manual management.)

On Linux with systemd, this involves the journalctl facility and its associated options: --rotate, --vacuum-time, --vacuum-size, --vacuum-files. Presumably other platforms have comparable log management features.

Example
n/a

Additional context
Noticed that on one server, the mdsip_submit log consumed ~55% of the root volume (disk was ~90% full). To avoid system crash had to manually truncate the log, thereby releasing ~113 GB of disk space (usage dropped to ~35% full). Would be nice if mdsip logs were instead managed automatically.

@mwinkel-dev mwinkel-dev added the feature Indicates new feature requests or implementations label Aug 8, 2024
@WhoBrokeTheBuild
Copy link
Member

That would be good, or we could ship some config files for logrotate to handle the .log files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Indicates new feature requests or implementations
Projects
None yet
Development

No branches or pull requests

2 participants