From 1c1c1fd320997b6552e2dafe091e61b95bdb1e8e Mon Sep 17 00:00:00 2001 From: shammash <shammash@autistici.org> Date: Sun, 8 Mar 2015 14:19:26 -0400 Subject: [PATCH] log what servers are doing in a file Signed-off-by: shammash <shammash@autistici.org> --- test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 37d66e9..3c2a6d6 100644 --- a/test.sh +++ b/test.sh @@ -62,7 +62,9 @@ generate_index_part() { start_daemons() { for d in $DAEMONS ; do local pidfile=${root}/${d}.pid - ${bindir}/${d} --config=${root}/djrandom.conf --pid-file=${pidfile} & + local logfile=${root}/${d}.log + ${bindir}/${d} --config=${root}/djrandom.conf --pid-file=${pidfile} \ + --log-file=${logfile} & done } -- GitLab