Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I am installing a python module, I use

python setup.py 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

2 Answers 2

up vote 1 down vote accepted

Just like with everything else:

python setup.py 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

 
discard

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.