improve logging on before/after shared cluster tests