summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-10-21 15:03:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-10-21 15:03:53 +0200
commite7701775553a60efb050b0df497bb4df5df46d62 (patch)
tree5e8183f6bbb33e106624e8c9d9c3eab7a7006de9 /doc
parent359ddad3c5dce82ab48964c1d8b804c4155ea39c (diff)
parent12102199c4b3a042fb91e1d52eb274f06e62213e (diff)
downloadrsyslog-e7701775553a60efb050b0df497bb4df5df46d62.tar.gz
rsyslog-e7701775553a60efb050b0df497bb4df5df46d62.tar.xz
rsyslog-e7701775553a60efb050b0df497bb4df5df46d62.zip
Merge branch 'v5-devel'
Conflicts: ChangeLog
Diffstat (limited to 'doc')
-rw-r--r--doc/property_replacer.html4
-rw-r--r--doc/rsyslog_recording_pri.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/property_replacer.html b/doc/property_replacer.html
index 57592fd1..c4af094c 100644
--- a/doc/property_replacer.html
+++ b/doc/property_replacer.html
@@ -65,8 +65,8 @@ BSD syslogd. For example, when TAG is "named[12345]", programname is
</tr>
<tr>
<td><b>pri-text</b></td>
-<td>the PRI part of the message in a textual form (e.g.
-"syslog.info")</td>
+<td>the PRI part of the message in a textual form with the numerical PRI appended in
+brackes (e.g. "local0.err<133>")</td>
</tr>
<tr>
<td><b>iut</b></td>
diff --git a/doc/rsyslog_recording_pri.html b/doc/rsyslog_recording_pri.html
index cf11e3e5..a092980c 100644
--- a/doc/rsyslog_recording_pri.html
+++ b/doc/rsyslog_recording_pri.html
@@ -44,13 +44,13 @@ from the syslog message when output is written. Everything outside of the
percent signs is literal text, which is simply written as specified.</p>
<p>Thankfully, rsyslog provides message properties for the priority. These are
called &quot;PRI&quot;, &quot;syslogfacility&quot; and &quot;syslogpriority&quot; (case is important!). They are numerical
-values. Starting with rsyslog 1.13.4, there is also a property &quot;PRI-text&quot;, which
-contains the priority in friendly text format (e.g. &quot;syslog.info&quot;). For the rest
+values. Starting with rsyslog 1.13.4, there is also a property &quot;pri-text&quot;, which
+contains the priority in friendly text format (e.g. &quot;local0.err<133>&quot;). For the rest
of this article, I assume that you run version 1.13.4 or higher.</p>
<p>Recording the priority is now a simple matter of adding the respective field
to the template. It now looks like this:</p>
<p align="center">
-<code>$template TraditionalFormatWithPRI,&quot;%PRI-text%: %timegenerated% %HOSTNAME% %syslogtag%%msg:::drop-last-lf%\n&quot;</code>
+<code>$template TraditionalFormatWithPRI,&quot;%pri-text%: %timegenerated% %HOSTNAME% %syslogtag%%msg:::drop-last-lf%\n&quot;</code>
</p>
<p>Now we have the right template - but how to write it to a file? You probably
have a line like this in your syslog.conf:</p>