docker: added some logs for collect method.