Tail rabbitmq and MySQL log files from containers in Pike
Change-Id: Iaf5e5345394e9d5d0c6ceec632dfb16d1551c97a
This commit is contained in:
parent
f8caad3269
commit
c07ac2f838
@ -1466,8 +1466,11 @@ PreCacheChain "PreCache"
|
|||||||
</Match>
|
</Match>
|
||||||
</File>
|
</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">
|
<File "/var/log/mysqld.log">
|
||||||
|
{% endif %}
|
||||||
Instance "mysqld"
|
Instance "mysqld"
|
||||||
<Match>
|
<Match>
|
||||||
Regex "\\[ERROR\\]"
|
Regex "\\[ERROR\\]"
|
||||||
@ -1878,7 +1881,11 @@ PreCacheChain "PreCache"
|
|||||||
</Match>
|
</Match>
|
||||||
</File>
|
</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">
|
<File "/var/log/rabbitmq/rabbit\@{{ansible_hostname}}.log">
|
||||||
|
{% endif %}
|
||||||
Instance "rabbitmq"
|
Instance "rabbitmq"
|
||||||
<Match>
|
<Match>
|
||||||
Regex "ERROR REPORT"
|
Regex "ERROR REPORT"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user