Merge "Use same rsyslog config files for remote logging"
This commit is contained in:
commit
ebff0b0ba1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue