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:
parent
5de471f61e
commit
0251ac73d5
@ -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/"
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
remote_tmp = /tmp
|
remote_tmp = /tmp
|
||||||
|
log_path = /var/log/kolla/ansible.log
|
||||||
|
Loading…
Reference in New Issue
Block a user