[ROSAUTOTEST] Fix and improve some log handling (#1531)