Add log collect and store