Hello

Short:

rsyslog V3-V4:
Can I write to disk ONLY if the remote rsyslog server is not reachable?
Can it be done with the following?

$ModLoad imuxsock             # local message reception

$WorkDirectory /rsyslog/work  # default location for work (spool) files

$ActionQueueType Disk
$ActionQueueFileName srvrfwd  # set file name, also enables disk mode
$ActionResumeRetryCount -1    # infinite retries on insert failure

If the server is reachable there will be nothing written do disk (my 
problem
is using CF card in embedded system see below) or is it written first to 
disk
and than processed by the dispatcher?

Long:
I use rsyslog on AP which I try now to log remotely to a syslog server 
because CF card dies if you log often.
Now the problem is, that I don't want to loss my syslog messages in the 
case the
syslog server is not available. Now this messages are helt in the memory but
if there is a power loss all messages will be lost.
We have many power losses here :-(


Greetings and thanks

Beat
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to