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

When I am installing a python module, I use

python install

I see all of the output on the command line, but is all of this output saved to a log file somewhere? I'm asking because I installed a module on our development server without a problem. I went to install it on our production server and am having issues. I was hoping to compare logs of the two installs.

share|improve this question
up vote 1 down vote accepted

Just like with everything else:

python install >& log.txt

Or, if you want the messages to be printed to screen AND log.txt, use:

somecommand 2>&1 | tee log.txt
share|improve this answer

I think you have to use the '--record logfilename' argument on that command line to force output to a log.

share|improve this answer
that dumps a list of files that were installed, but not all the install details. thanks though. – Banjer Jan 12 '10 at 19:43

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.