64-bit Vista,
Python 2.6,
IPython 0.10
I want to try logging everything I do, so I set
o.log = 1
in my ipy_user_conf.py .
But logging doesn’t start. It will if I enter “logstart” at the
prompt. But what’s the problem with ‘o.log = 1’?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Where does your
ipy_user_conf.pyreside? If you are editing thePython26\Lib\site-packages\IPython\UserConfigfile, chances are it doesn’t even get loadedin the first place.
The right file is in
%USERPROFILE%\_ipython, editing that should do the trick.Also, I’d suggest using
that way, you can configure logging using the regular magic command.