I return RS_RET_SUSPENDED from EndTransaction and expect rsyslog to retry
failed messages. My configuration looks like following:

queue.spoolDirectory="/var/spool/rsyslog" queue.filename="some_filename"
queue.type="Disk" queue.maxdiskspace="1G" queue.saveonshutdown="on"
action.resumeRetryCount="-1" action.reportSuspensionContinuation="on"
action.resumeInterval="1"

After logging a line:

6130.843876518:action 0 queue:Reg/w0: Action 0 transitioned to state: rdy
6130.844112940:action 0 queue:Reg/w0: Action 0 transitioned to state: itx
6130.844131796:action 0 queue:Reg/w0: Action 0 transitioned to state: rtry
6130.844137106:action 0 queue:Reg/w0: actionCommit, in retry loop, iRet -2007
6130.844142731:action 0 queue:Reg/w0: regular consumer finished,
iret=-2007, szlog 0 sz phys 1
6130.844149164:action 0 queue:Reg/w0: DeleteProcessedBatch: we deleted
1 objects and enqueued 0 objects
6130.844154698:action 0 queue:Reg/w0: doDeleteBatch: delete batch from
store, new sizes: log 0, phys 0
6130.844160252:action 0 queue:Reg/w0: regular consumer finished,
iret=4, szlog 0 sz phys 0
6130.844165414:action 0 queue:Reg/w0: action 0 queue:Reg/w0: worker
IDLE, waiting for work.

That message is not resent by rsyslog after failure. Is there special
configuration?

I've found TODO here:
https://github.com/rsyslog/rsyslog/blob/master/action.c#L1236
That says "For the time being, I do NOT implement all of this (not even
retry!)". I Wonder if retry functionality is not finished in rsyslog?

Thanks!
_______________________________________________
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