diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-06-22 08:06:39 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-06-22 08:06:39 +0000 |
commit | 6f6387ab8d99d2ba5ecd5c953f36c995bc5082ab (patch) | |
tree | 515492b26a242da9f25fe9653a5195285e95d0b6 /test.conf | |
parent | 4dd08cf40589272ccd9f50c5af1e882d4a73eb5d (diff) | |
download | rsyslog-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.conf | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |