[IPython-User] start logging on default

MinRK benjaminrk@gmail....
Sun Apr 29 16:47:16 CDT 2012


On Sun, Apr 29, 2012 at 14:38, Paul Ivanov <pivanov314@gmail.com> wrote:

> On Sun, Apr 29, 2012 at 12:58 PM, Tim Michelsen
> <timmichelsen@gmx-topmail.de> wrote:
> > how to I set up Ipython >= 12 that logging is started automatically when
> > terminal / qtconsole is initialised?
>
> There are two configuration options you have to set (one applies to
> the pre-0.11 single-process terminal only ipython, the other to all
> ZMQ protocol based client (qtconsole, two-process console, notebook,
> etc), and you can pass both as follows:
>
>  --TerminalInteractiveShell.logstart=True
> --ZMQInteractiveShell.logstart=True
>
> you can then set these in your ipython profile
>

If you want to set it for all kinds of sessions, you can just do:

--InteractiveShell.logstart=True

(setting a config option for a class sets it for all descendants)


> best,
> --
> Paul Ivanov
> 314 address only used for lists,  off-list direct email at:
> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120429/47996b3f/attachment.html 


More information about the IPython-User mailing list