commit f1071baa2a283da69eb15beea3fb33c73e764872
Author: Shuicheng Lin <email address hidden>
Date: Mon Jun 24 12:54:56 2019 +0800
fix influxdb log file cannot be collected by logrotate
The logfile for influxdb is influxd.log, not influxdb.log
Correct the name in controller.yaml, so that logrotate could get
the log correctly.
Also, influxdb process uses error re-direction to append the error
message to influxd.log, so "copytruncate" need be added in logrotate
setting, so that log could be continue logged after logrotate
execution.
Closes-Bug: 1833167
Change-Id: I1ef484e3052355e5edc0cd0f7c629c7944daf014
Signed-off-by: Shuicheng Lin <email address hidden>
Reviewed: https:/ /review. opendev. org/667009 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=f1071baa2a2 83da69eb15beea3 fb33c73e764872
Committed: https:/
Submitter: Zuul
Branch: master
commit f1071baa2a283da 69eb15beea3fb33 c73e764872
Author: Shuicheng Lin <email address hidden>
Date: Mon Jun 24 12:54:56 2019 +0800
fix influxdb log file cannot be collected by logrotate
The logfile for influxdb is influxd.log, not influxdb.log
Correct the name in controller.yaml, so that logrotate could get
the log correctly.
Also, influxdb process uses error re-direction to append the error
message to influxd.log, so "copytruncate" need be added in logrotate
setting, so that log could be continue logged after logrotate
execution.
Closes-Bug: 1833167
Change-Id: I1ef484e3052355 e5edc0cd0f7c629 c7944daf014
Signed-off-by: Shuicheng Lin <email address hidden>