1# Syslogc reads the memory logs continously. 2# The client writes a message to Sys::Syslog native method. 3# The syslogd writes it into a file and through a pipe. 4# The syslogd passes it via UDP to the loghost. 5# The server receives the message on its UDP socket. 6# Find the message in client, file, pipe, syslogd, server, syslogc log. 7# Check that memory buffer has not been cleared. 8 9use strict; 10use warnings; 11 12our %args = ( 13 syslogd => { 14 memory => 1, 15 loggrep => { 16 qr/Accepting control connection/ => 2, 17 qr/ctlcmd 6/ => 1, 18 get_testgrep() => 1, 19 }, 20 }, 21 syslogc => [ { 22 early => 1, 23 stop => 1, 24 options => ["-f", "memory"], 25 down => get_downlog(), 26 }, { 27 options => ["memory"], 28 down => get_downlog(), 29 } ], 30); 31 321; 33