Let me share the patch for recovery.qi.pl script with you.
It does automatically create $basename.qi file (no STDOUT redirection
required) and initiate $digits and $spool with defaults (they are optional).
One of other improvement is the queue files are reordered when broken queue
is detected.

In that case the call is just
/var/spool/rsyslog# /usr/local/sbin/recover.qi2.pl -f forward_queue
instead of
/var/spool/rsyslog# /usr/local/sbin/recover.qi2.pl -f forward_queue -d 8 -w
. >  forward_queue.qi

One of the planned improvement could be change of ownership and file mode
according to the queue files.

Peter

Attachment: recover.qi.pl.patch
Description: Binary data

_______________________________________________
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