Chef-solo getting logs from a bash script


I am cross-posting this from stackoverflow as I did not get any response there.

I am executing a shell script via a recipe like below

execute 'Run postgres data migration' do
  command '/home/ubuntu/build-target/infra-base/'
  live_stream true
  action  :run
  only_if { ::File.exist?('/home/ubuntu/build-target/infra-base/') }

My chef logs are directed to a file (log_location '/var/log/arkin/chef-run.log' )

Right now I am not getting any logs from the bash script (both from stdout and stderr)

Can someone let me know how can I get the logs from the bash script ?


Anyone any thoughts on this one?