projects
/
gatekeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2563752
)
Announce output destination in mock syslog server
author
Jacob Bachmeyer
<jcb@gnu.org>
Sat, 27 Feb 2021 03:23:26 +0000
(21:23 -0600)
committer
Jacob Bachmeyer
<jcb@gnu.org>
Sat, 27 Feb 2021 03:23:26 +0000
(21:23 -0600)
testsuite/lib/exec/minlogd.pl
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/lib/exec/minlogd.pl
b/testsuite/lib/exec/minlogd.pl
index 610cb6c06f5254339219192c8cc103b3a324439d..b122958d53c102f5e89c0d4b899f9dfd8a2c1a3a 100755
(executable)
--- 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 {