summaryrefslogtreecommitdiffstats
path: root/test.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-06-22 08:06:39 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-06-22 08:06:39 +0000
commit6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab (patch)
tree515492b26a242da9f25fe9653a5195285e95d0b6 /test.conf
parent4dd08cf40589272ccd9f50c5af1e882d4a73eb5d (diff)
downloadrsyslog-6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab.tar.gz
rsyslog-6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab.tar.xz
rsyslog-6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab.zip
coming closer to 0.9.0 - this checkin test only!
Diffstat (limited to 'test.conf')
-rw-r--r--test.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.conf b/test.conf
index c9d0ceb6..5a6c15ac 100644
--- a/test.conf
+++ b/test.conf
@@ -129,6 +129,10 @@ $template MySQLInsert,"insert iut, message, receivedat values ('%iut%', '%msg:::
$template WinSyslogFmt,"%HOSTNAME%,%timegenerated:1:10:date-rfc3339%,%timegenerated:12:19:date-rfc3339%,%timegenerated:1:10:date-rfc3339%,%timegenerated:12:19:date-rfc3339%,%syslogfacility%,%syslogpriority%,%syslogtag%%msg%\n"
#$template wallmsg,"\r\n\7Message from syslogd@%HOSTNAME% at %timegenerated:::date-rfc3339% ...\r\n %syslogtag%%msg%\n\r"
+# now follow output channel definitions
+#$outchannel name,file-name-template,max-size,action-on-max-size
+#$outchannel rg, /home/rger/proj/rsyslog/size-file , 1000
+
# Selector lines are now modified
# The "action" (e.g. file logging) can be followed
# by a comma and then the name of a template to use.
@@ -143,3 +147,6 @@ $template WinSyslogFmt,"%HOSTNAME%,%timegenerated:1:10:date-rfc3339%,%timegenera
#*.* @172.19.2.16
#*.* >localhost,AdisconDB,root,
*.* /var/log/big
+#$outchannel rg, /home/rger/proj/rsyslog/size-file , 1000 , mv /home/rger/proj/rsyslog/size-file /home/rger/proj/rsyslog/size-file.old
+$outchannel rg, /home/rger/proj/rsyslog/size-file , 1000
+*.* $rg;TraditionalFormat