influxdb log cannot be collected by logrotate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Lin Shuicheng |
Bug Description
Brief Description
-----------------
influxdb log cannot be collected when run "sudo logrotate --force /etc/logrotate.
It is due to the log file for influxdb is influxd.log, while the configuration in logrotate is influxdb.log. The mis-match causes logrotate cannot collect it.
Severity
--------
Minor
Steps to Reproduce
------------------
Run "sudo logrotate --force /etc/logrotate.
Expected Behavior
------------------
influxdb.log.gz file should be generated under /var/log/influxdb folder
Actual Behavior
----------------
There is no gz file generated for influxdb.log
Reproducibility
---------------
100%
System Configuration
-------
All
Branch/Pull Time/Commit
-------
Last Pass
---------
Timestamp/Logs
--------------
Test Activity
-------------
Developer Testing
Changed in starlingx: | |
assignee: | nobody → Lin Shuicheng (shuicheng) |
tags: | added: stx.distro.other stx.integ |
tags: |
added: stx.config removed: stx.integ |
Fix proposed to branch: master /review. opendev. org/665880
Review: https:/