1# The client writes a message to Sys::Syslog native method. 2# The syslogd writes it into a file and through a pipe. 3# The syslogd passes it via UDP to the loghost. 4# The server receives the message on its UDP socket. 5# Syslogc lists the memory logs. 6# Find the message in client, file, pipe, syslogd, server log. 7 8use strict; 9use warnings; 10 11our %args = ( 12 syslogd => { 13 memory => 1, 14 loggrep => { 15 qr/Accepting control connection/ => 1, 16 qr/ctlcmd 4/ => 1, 17 get_testgrep() => 1, 18 }, 19 }, 20 syslogc => { 21 options => ["-q"], 22 loggrep => qr/^memory /, 23 }, 24); 25 261; 27