##// END OF EJS Templates
Backport PR #2102: Fix logging on interactive shell....
Backport PR #2102: Fix logging on interactive shell. Add a missing string format code in init_logs() and move init_logstart() after init_magics(), to fix dependency issues. This is a proposed fix for the case a log file is given in `ipython_config.py`, eg: ```python # Start logging to the given file in append mode. import os from time import strftime f = os.path.join(c.TerminalIPythonApp.ipython_dir, strftime('%Y-%m-%d')+".py") c.TerminalInteractiveShell.logappend = f ``` which completely breaks in current `master` code

File last commit:

r3518:584e9d75
r7990:a4d72683
Show More
__init__.py
10 lines | 349 B | text/x-python | PythonLexer
Brian Granger
Fixed docstring of IPython.kernel.__init__.
r3518 """IPython.kernel has been replaced by IPython.parallel.
The previous version of IPython's parallel library was located at this
location (IPython.kernel). It has been moved to the IPython.parallel
subpackage and has been refactored to use zeromq/pyzmq instead of twisted.
Brian Granger
Adding IPython.kernel transition helper.
r3487
Please see INSERT URL for further details.
"""
Brian Granger
Fixed docstring of IPython.kernel.__init__.
r3518 raise ImportError(__doc__)