Merge "Fix ubuntu syslog snippet"

This commit is contained in:
Jenkins 2014-03-26 13:58:21 +00:00 committed by Gerrit Code Review
commit 34ee2a8681

View File

@ -1,4 +1,4 @@
#raw
echo \$template LogToMaster, "<%%PRI%>1 %\$NOW%T%TIMESTAMP:8:\$%Z %HOSTNAME% %APP-NAME% %PROCID% %MSGID% -%msg%" >> /target/etc/rsyslog.d/10-logs2master.conf && \
echo \$template LogToMaster, "\"<%%PRI%>1 %\$NOW%T%TIMESTAMP:8:\$%Z %HOSTNAME% %APP-NAME% %PROCID% %MSGID% -%msg%\"" >> /target/etc/rsyslog.d/10-logs2master.conf && \
#end raw
echo "*.* @$server;LogToMaster" >> /target/etc/rsyslog.d/10-logs2master.conf && \