add log support.