mdsplus
mdsplus copied to clipboard
Make `mdsip` logging compatible with the automatic log management features provided by the operating system
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.