On Mon, 2013-03-04 at 14:44 +0000, C. L. Martinez wrote:
> >> > # First file log defined
> >> > input(type="imfile" file="/tmp/test.log" tag="test:"
> >> > statefile="/var/spool/rsyslog/test-state" severity="info")
> >> > if $programname == 'test' then {
> >> >         action(type="omfwd" protocol="tcp" target="1.1.1.1" port="514"
> >> >                 rsyslog.workDirectory="/var/spool/rsyslog"
> >> >                 queue.filename="testfwd"
> >> >                 queue.maxdiskspace="10g"
> >> >                 queue.saveonshutdown="on"
> >> >                 queue.type="LinkedList"
> >> >                 queue.maxfilesize="20m"
> >> >                 action.RetryCount="-1")
> >> > }
> >> >
> >> > Is correct?? Any error??
> >>
> >> Well, it seems it doesnt works ... Somebody knows why??
> >
> > What exactly does not work? Which errors are emitted? If in doubt, do
> >
> > http://www.rsyslog.com/how-can-i-check-the-config/
> >
> 
> No logs are forwarded to central syslog server ... Using rsyslog.conf
> v5 with rsyslog v7 works without problems ... Checking config only
> returns me error about using "action.RetryCount". I have changed to
> "action.resumeretrycount" and no errors returned ... but logs are not
> forwarded ...
Can you post a debug log?

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to