detected=$(grep "doctor monitor detected at" monitor.log | awk '{print $10}')
notified=$(grep "doctor consumer notified at" consumer.log | awk '{print $10}')
if ! grep -q "doctor consumer notified at" consumer.log ; then
detected=$(grep "doctor monitor detected at" monitor.log | awk '{print $10}')
notified=$(grep "doctor consumer notified at" consumer.log | awk '{print $10}')
if ! grep -q "doctor consumer notified at" consumer.log ; then