diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-05-20 16:43:46 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-05-20 16:43:46 +0200 |
commit | fcb747c57d2b8beacade7194f99fa1de8fb0a4fb (patch) | |
tree | 30cb3e8cd21664f50b82ca3dd55d3c64eb61428f | |
parent | 4ebd062564c068566d60b4f54c047e6c082edf8e (diff) | |
download | rsyslog-fcb747c57d2b8beacade7194f99fa1de8fb0a4fb.tar.gz rsyslog-fcb747c57d2b8beacade7194f99fa1de8fb0a4fb.tar.xz rsyslog-fcb747c57d2b8beacade7194f99fa1de8fb0a4fb.zip |
some doc fixes; incorrect config samples could cause confusion
thanks to Anthony Edwards for pointing the problems out
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | doc/rsyslog_conf_filter.html | 2 | ||||
-rw-r--r-- | doc/rsyslog_conf_templates.html | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -16,6 +16,8 @@ Version 4.6.3 [v4-stable] (rgerhards), 2010-04-?? message-induced off-by-one error (potential segfault) (see 4.6.2) The analysis has been completed and a better fix been crafted and integrated. +- some doc fixes; incorrect config samples could cause confusion + thanks to Anthony Edwards for pointing the problems out --------------------------------------------------------------------------- Version 4.6.2 [v4-stable] (rgerhards), 2010-03-26 - new feature: "." action type added to support writing files to relative diff --git a/doc/rsyslog_conf_filter.html b/doc/rsyslog_conf_filter.html index 841ec9c7..63c29817 100644 --- a/doc/rsyslog_conf_filter.html +++ b/doc/rsyslog_conf_filter.html @@ -231,7 +231,7 @@ A few quick samples:<br> <br> <code> *.* /var/log/file1 # the traditional way<br> -if $msg contains 'error' /var/log/errlog # the expression-based way<br> +if $msg contains 'error' then /var/log/errlog # the expression-based way<br> </code> <br> Right now, you need to specify numerical values if you would like to diff --git a/doc/rsyslog_conf_templates.html b/doc/rsyslog_conf_templates.html index 6c68b801..baa4ce29 100644 --- a/doc/rsyslog_conf_templates.html +++ b/doc/rsyslog_conf_templates.html @@ -87,8 +87,7 @@ option. Otherwise you will become vulnerable to SQL injection. <br> To escape:<br> % = \%<br> \ = \\ --> '\' is used to escape (as in C)<br> -$template TraditionalFormat,%timegenerated% %HOSTNAME% -%syslogtag%%msg%\n"<br> +$template TraditionalFormat,"%timegenerated% %HOSTNAME% %syslogtag%%msg%\n"<br> <br> Properties can be accessed by the <a href="property_replacer.html">property replacer</a> (see there for details).</p> |