Comment 5 for bug 1833167

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/667009
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=f1071baa2a283da69eb15beea3fb33c73e764872
Submitter: Zuul
Branch: master

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>