There is no proper logger inside run_remote_chef_client method, there is just stdout redirected into node logfile, so the only way to write into logfile properly is using stdout via puts/print/etc.