Make Ansible write its logs into "kolla_logs"

The Ansible logs are currently not collected by Heka.  This can be
done later, with an Ansible-specific decoder for Heka.

Partially implements: blueprint heka
Change-Id: I8d3ba4edb527f61c0a8234024b4be953c6e6c565
This commit is contained in:
Éric Lemoine 2016-02-11 12:53:33 +01:00 committed by SamYaple
parent 5de471f61e
commit 0251ac73d5
3 changed files with 2 additions and 4 deletions

View File

@ -39,4 +39,4 @@
volumes: volumes:
- "/dev/:/dev/" - "/dev/:/dev/"
- "/run/:/run/" - "/run/:/run/"
- "rsyslog_socket:/var/lib/kolla/rsyslog/" - "kolla_logs:/var/log/kolla/"

View File

@ -7,9 +7,6 @@ $KLogPermitNonKernelFacility on
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$RepeatedMsgReduction on $RepeatedMsgReduction on
$template KollaToolboxFile,"/var/log/kolla_toolbox.log"
:syslogtag,contains,"toolbox" ?KollaToolboxFile
$template HeatAPIFile,"/var/log/heat/heat-api.log" $template HeatAPIFile,"/var/log/heat/heat-api.log"
:syslogtag,contains,"heat-api" ?HeatAPIFile :syslogtag,contains,"heat-api" ?HeatAPIFile

View File

@ -1,2 +1,3 @@
[defaults] [defaults]
remote_tmp = /tmp remote_tmp = /tmp
log_path = /var/log/kolla/ansible.log