I am using a backup application which I wrote myself in Free Pascal which uses Afio to do the dirty work in conjunction with my SCSI tape drive.
Very occasionally a problem occurs during a backup (read or write error) which causes error messages to be appended to the logs, kern.log, messages. sys.log, at such a rate that it consumes about 500MB in a couple of hours.
Can anyone suggest a method of monitoring the logs for excessive growth or for the occurrence of the same error message occurring say 25 times which would then automatically kill Afio (which stops the messages).
I can't monitor this from inside my own application once control is passed to Afio for the Backup or Verify.
Many thanks
Barry Samuels