]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: use unique logs for each rbd-mirror daemon
authorJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 13:16:51 +0000 (09:16 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 14:01:38 +0000 (10:01 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/rbd_mirror.sh

index 4db44c8e3ed611709770b1acf608da2cb5a3a98a..797b60c43145cdbf27b4c85be254fe08ee969b00 100755 (executable)
@@ -35,7 +35,7 @@
 #
 #   cd /tmp/tmp.rbd_mirror
 #   ls
-#   less rbd-mirror.log
+#   less rbd-mirror.<pid>.log
 #   ceph --cluster remote -s
 #   ceph --cluster local -s
 #   rbd --cluster remote -p mirror ls
@@ -120,7 +120,7 @@ start_mirror()
     rbd-mirror \
        --cluster ${LOC_CLUSTER} \
        --pid-file=${RBD_MIRROR_PID_FILE} \
-       --log-file=${TEMPDIR}/rbd-mirror.log \
+       --log-file=${TEMPDIR}/rbd-mirror.\$pid.log \
        --admin-socket=${RBD_MIRROR_ASOK} \
        --debug-rbd=30 --debug-journaler=30 \
        --debug-rbd_mirror=30 \