<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You can't use a hex number there, it needs to be decimal. I don't see a
macro that we can use to properly set the decimal <PRI> in the
beginning of a templated message. Bazsi, can you shed any light on this?<br>
</blockquote><div><br>
I dug into it, and it looks like the PRI macro should work. See news releases below.<br>
<br>
Try a template like this:<br>
destination self { udp("<a href="http://cashmere.comp.uvic.ca">cashmere.comp.uvic.ca</a>" template("<$PRI>$FACILITY $PRIORITY From $HOST: $MESSAGE\n")); <br>
<pre>News for the 1.6.3 release<br>        Thu, 06 May 2004 11:05:46 +0200<br><br>         * fixed afunix and afinet destination template handling, do not include<br>          the PRI value automatically, let the administrator do it<br>          explicitly in its template
</pre>
<br>
<pre>News for the 1.6.1 release<br>        Fri, 9 Jan 2004 10:27:38 +0100<br><br>        * added a new macro named "PRI" which inserts the decimal value of<br>         the message priority (pri + level value combined)</pre>
</div><br></div><br>