Hey Michael,
Without more information, such as helpful verbose output from
rdlogmanager(1), it's tough to diagnose a problem like this.
I recommend running it under strace(1) to see what exactly rdlogmanager
is doing at the system call level. Here is an example of how I might use
strace to figure out what rdlogmanager is doing:
strace -ttt -f -ff -s 1024 -o /tmp/rdlogmanager-strace rdlogmanager
-g -s Production -d 10
Read the manual page to learn about all the options. (You can use
RDLogEdit to later delete that log if you'd like.)
I ended up with five files in /tmp, one of which contains the regular
expression:
insert into LOG_LINES.*,TYPE=5,
TYPE=5 means a Log Chain event. Search for that expression in your
strace output and then look at the lines preceding that (if you can find
one).
Also search for the string:
select `CHAIN_LOG` from `SERVICES` where `NAME`=
in your strace output. The line after the line containing that string
should contain a bunch of backslashes and numbers, and also the letter
"Y" or "N". This indicates whether a log chain should be inserted at the
end of a log.
Tracing execution with strace can lead you down a rabbit hole, but it's
a pretty simple and effective way to learn what's going on with the
program. There's probably more one could do with strace to troubleshoot
this, or maybe run rdlogmanager in GDB to more precisely trace the
execution.
Hope this helps!
~David Klann
On 9/29/20 12:54 PM, Michael Vasile wrote:
> Hi all,
>
> I'm reaching out again to see if anyone has any ideas or could help with
> an issue we're having with RD 2.19.3 and log chain events. We use a cron
> job that runs RDLogManager from the command line to generate 3 days
> worth of logs each day. We have the "Insert CHAIN TO at log end" option
> enabled on all of our services (we have 2). However, this option does
> nothing for us, and we have to manually add the log chain events.
>
> Any help/ideas would be greatly appreciated.
>
> Thank you,
> Mike Vasile
>
> ──────────
> *Michael Vasile*
> Chief Engineer
> WITR-FM 89.7
> [email protected] <mailto:[email protected]>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev