##// END OF EJS Templates
Don't add logging handler if one already exists....
Don't add logging handler if one already exists. If a default handler already exists, it is expected that IPython is embedded in an application that uses logging. In that case IPython should not provide its own logging handler, but rely on the embedding application's handlers.

File last commit:

r8667:a846eadb
r9546:eeedc168
Show More
__main__.py
14 lines | 500 B | text/x-python | PythonLexer
# encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython.frontend.terminal.ipapp import launch_new_instance
launch_new_instance()