How to rotate Podman ctr.log for containerized Ceph
Issue
- A podman container is running, such as containerized Ceph with MON and OSD containers, and the disk space consumed by the logfile "/var/lib/containers/storage/overlay-containers/[CONTAINER-HASH]/userdata/ctr.log" is increasing significantly.
- The "ctr.log" is required to be enabled.
- It is necessary to keep rotated logs of the "ctr.log" file.
Environment
- Red Hat Ceph Storage 4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.