diff --git a/test.sh b/test.sh
index 37d66e9c36b500e70788555d300830ad8239312f..3c2a6d6bc666e851e62c3c1c8843b85334d9d9c0 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
 }