Description of problem: The agent package logs to /var/log/skynet/skynet.log , but there is nothing that rotates this file. Version-Release number of selected component (if applicable): rhscon-agent-0.0.6-1 How reproducible: always Steps to Reproduce: 1. yum install rhscon-agent 2. systemctl enable skynetd 3. systemctl start skynetd Actual results: Information gets written to /var/log/skynet/skynet.log , and if a lot of information is written here, it will grow without bound and never be rotated. Expected results: Log to the systemd journal instead (or add logrotation config). Additional info: I definitely recommend that you avoid logging to a plaintext file at all, and simply write your logging information to STDOUT/STDERR, so that it will go into systemd-journald. This is how we do it with ceph-installer.service and ceph-installer-celery.service: StandardOutput=journal StandardError=journal Then you can view your logs with "journalctl -u skynetd" instead of reading skynet.log, and you get rotation for free, etc.
Tested with calamari-server-1.4.8-1.el7cp.x86_64 ceph-base-10.2.2-33.el7cp.x86_64 ceph-common-10.2.2-33.el7cp.x86_64 ceph-mon-10.2.2-33.el7cp.x86_64 ceph-selinux-10.2.2-33.el7cp.x86_64 libcephfs1-10.2.2-33.el7cp.x86_64 python-cephfs-10.2.2-33.el7cp.x86_64 rhscon-agent-0.0.16-1.el7scon.noarch rhscon-core-selinux-0.0.39-1.el7scon.noarch and it works.