Code Medic - 2013-05-13

Please also note that there I have the severity embedded in the line, which I was hoping to use for colourising my output.

Here is what I use in my rsyslog config; in case you need it.

$template FormatWithPriority,"%timereported:::date-rfc3339% %HOSTNAME% %syslogtag% [%syslogpriority-text%]%msg:::drop-last-lf%\n"
$ActionFileDefaultTemplate FormatWithPriority