add log in phelper