Merge "Use same rsyslog config files for remote logging"

This commit is contained in:
Jenkins 2016-05-13 14:32:18 +00:00 committed by Gerrit Code Review
commit ebff0b0ba1
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ fqdn: {{ common.fqdn }}
# add entries to rsyslog configuration
rsyslog:
- filename: 10-log2master.conf
- filename: 00-remote.conf
content: |
$template LogToMaster, "<%PRI%>1 %$NOW%T%TIMESTAMP:8:$%Z %HOSTNAME% %APP-NAME% %PROCID% %MSGID% -%msg%\n"
*.* @{{ common.master_ip }};LogToMaster

View File

@ -39,7 +39,7 @@ fqdn: {{ common.fqdn }}
# add entries to rsyslog configuration
rsyslog:
- filename: 10-log2master.conf
- filename: 00-remote.conf
content: |
$template LogToMaster, "<%PRI%>1 %$NOW%T%TIMESTAMP:8:$%Z %HOSTNAME% %APP-NAME% %PROCID% %MSGID% -%msg%\n"
*.* @{{ common.master_ip }};LogToMaster