diff --git a/CEP/MWCommon/test/tstartdproc.run b/CEP/MWCommon/test/tstartdproc.run
index ebd4b74fb55d478d55f685e36e668d1c0b72d49d..6af363f1c8a353c40f657f4737a11f6742f002da 100755
--- a/CEP/MWCommon/test/tstartdproc.run
+++ b/CEP/MWCommon/test/tstartdproc.run
@@ -69,11 +69,12 @@ echo "status=$?"
 cat tstartdproc_tmp.out3
 # Print log file without lines containing directory path and pids.
 # Outcomment lines with kill which contain pids.
-# Remove other lines containing Killed because some systems print them, some don't.
-# Also remove lines containing debug which are written when not using log4cplus/cxx.
-sed -e "s%$curdir%%g" -e 's/pid=[0-9]*/pid=nn/' -e 's/kill -9 .*/kill -9 /' tstartdproc_tmp.log3a | grep -i -v "debug"
+# Remove other lines containing Killed: some systems print them, some don't.
+# Also remove lines containing "Debug: registered context" which are written
+# when not using log4cplus/cxx.
+sed -e "s%$curdir%%g" -e 's/pid=[0-9]*/pid=nn/' -e 's/kill -9 .*/kill -9 /' tstartdproc_tmp.log3a
 for i in 0 1 2
 do
-  sed -e "s%$curdir%%g" tstartdproc_tmp.log3b-$i
+  sed -e "s%$curdir%%g" tstartdproc_tmp.log3b-$i | grep -v "^Debug: registered context"
   sed -e 's/pid=[0-9]*/pid=nn/' tstartdproc_tmp.out3.envfile.pid-$i | grep -v " Killed "
 done