Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template (name="my_fmt" type="string" string="<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag% %msg%n")
- if ( ... ) then {
- action(type="ompipe" Pipe="/tmp/SITENAME/pipe" Template="my_fmt")
- stop
- }
- set ACTUAL_SITE = "foo";
- template (name="my_fmt" type="string" string="<%PRI%>%TIMESTAMP% %HOSTNAME% %syslogtag% %msg%n")
- if ( ... ) then {
- action(type="ompipe" Pipe="/tmp/$ACTUAL_SITE/pipe" Template="my_fmt")
- stop
- }
Add Comment
Please, Sign In to add comment