Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following snippet in a chef recipe:"Installing pips using requirements file: #{requirements_file}")
execute "pip install -E #{ve.path} -r #{requirements_file}" do
  user deploy_user
  cwd deploy_path

This installs a number of packages, and I'd like to see the output of "pip install" as chef-client is working when I invoke it via SSH. Is there any way to log the output of the execute command so that writes to the log as pip is running?

share|improve this question
up vote 2 down vote accepted

If you are looking at chef to show, running it using '-l debug' which show it. Alternatively, pip can log the activity using '--log=FILENAME' option.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.