[IPython-User] start logging on default

Paul Ivanov pivanov314@gmail....
Sun Apr 29 16:38:33 CDT 2012


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

best,
-- 
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7


More information about the IPython-User mailing list