Tail rabbitmq and MySQL log files from containers in Pike

Change-Id: Iaf5e5345394e9d5d0c6ceec632dfb16d1551c97a
This commit is contained in:
akrzos 2018-01-15 08:11:13 -05:00
parent f8caad3269
commit c07ac2f838
1 changed files with 8 additions and 1 deletions

View File

@ -1466,8 +1466,11 @@ PreCacheChain "PreCache"
</Match>
</File>
# Slightly different than Undercloud
{%if 'Pike' in osp_version['content'] | b64decode %}
<File "/var/log/pacemaker/bundles/galera-bundle-0/mysqld.log">
{% else %}
<File "/var/log/mysqld.log">
{% endif %}
Instance "mysqld"
<Match>
Regex "\\[ERROR\\]"
@ -1878,7 +1881,11 @@ PreCacheChain "PreCache"
</Match>
</File>
{%if 'Pike' in osp_version['content'] | b64decode %}
<File "/var/log/pacemaker/bundles/rabbitmq-bundle-0/rabbitmq/rabbit\@{{ansible_hostname}}.log">
{% else %}
<File "/var/log/rabbitmq/rabbit\@{{ansible_hostname}}.log">
{% endif %}
Instance "rabbitmq"
<Match>
Regex "ERROR REPORT"