Collectd generates periodic logs indicating the platform CPU and
memory usage. When daemon.log rotates very quickly, only a few days of
history of these logs is available. If the logs are moved to a
separate file, a much longer history of platform resource usage will
be available regardless of how quickly daemon.log is rotated.
Defined collectd.log to keep only 10 files, still rotating when
reaching 10MB.
Closes-Bug: #1942263
Signed-off-by: Joao Paulo Tavares Musico <email address hidden>
Change-Id: Id1cdf58b5641abc105f41bbd910ca4ba1a1c55fe
Reviewed: https:/ /review. opendev. org/c/starlingx /config- files/+ /807003 /opendev. org/starlingx/ config- files/commit/ af49353d9169d70 1c9df6f0839d61a 1a7fe442dc
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit af49353d9169d70 1c9df6f0839d61a 1a7fe442dc
Author: Joao Paulo Tavares Musico <email address hidden>
Date: Wed Sep 1 20:08:26 2021 -0400
Created a separated file for collectd logs
Collectd generates periodic logs indicating the platform CPU and
memory usage. When daemon.log rotates very quickly, only a few days of
history of these logs is available. If the logs are moved to a
separate file, a much longer history of platform resource usage will
be available regardless of how quickly daemon.log is rotated.
Defined collectd.log to keep only 10 files, still rotating when
reaching 10MB.
Closes-Bug: #1942263
Signed-off-by: Joao Paulo Tavares Musico <email address hidden> c105f41bbd910ca 4ba1a1c55fe
Change-Id: Id1cdf58b5641ab