Bug 1453771

Summary: Force collectd and fluentd to log own logs instead of /var/log/messages
Product: [oVirt] ovirt-engine-metrics Reporter: Lukas Svaty <lsvaty>
Component: RFEsAssignee: Shirly Radco <sradco>
Status: CLOSED UPSTREAM QA Contact: Lukas Svaty <lsvaty>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 1.0.3CC: bugs, ylavi
Target Milestone: ovirt-4.2.0Keywords: FutureFeature
Target Release: ---Flags: ylavi: ovirt-4.2?
lsvaty: testing_plan_complete-
rule-engine: planning_ack?
rule-engine: devel_ack?
lsvaty: testing_ack+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-11 15:48:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1402901, 1513019    

Description Lukas Svaty 2017-05-22 11:37:49 UTC
Description of problem:
Collectd and fluentd are at the moment logging to /var/log/messages which is not even collected on engine by log collector, for debugging purpose it would be better to have separate log files for them for example /var/log/ovirt-engine/{collect,fluent}d.log

Actual results:
Logging of collectd and fluentd is in /var/log/messages


Expected results:
Logging of collectd and fluentd should be forced to use separate logs for collectd and fluend only

Comment 1 Yaniv Lavi 2017-06-11 15:48:22 UTC
We should align with the ViaQ/OpsTools policy and guidance on how to log and collects logs from these services.