a log collector to help to catch log constantly.