From: Jacob Bachmeyer Date: Sat, 27 Feb 2021 03:23:26 +0000 (-0600) Subject: Announce output destination in mock syslog server X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=393ff86c94122cf8f5e13bb4a0ff5480c79bff54;p=gatekeeper.git Announce output destination in mock syslog server --- diff --git a/testsuite/lib/exec/minlogd.pl b/testsuite/lib/exec/minlogd.pl index 610cb6c..b122958 100755 --- a/testsuite/lib/exec/minlogd.pl +++ b/testsuite/lib/exec/minlogd.pl @@ -52,9 +52,11 @@ unless (-S $SocketName) { if (defined $OutputFileName) { open LoggerOutput, ($AppendFlag ? '>>' : '>'), $OutputFileName or die "open output file $OutputFileName: $!"; + print "minlogd: writing log messages to $OutputFileName\n"; } else { die "minlogd: append makes no sense without an output file\n" if $AppendFlag; open LoggerOutput, '>&', STDOUT or die "dup stdout: $!"; + print "minlogd: writing log messages to stdout\n"; } sub fd_nonblock {