|
|
|
|
@ -542,9 +542,8 @@ class NotebookApp(BaseIPythonApplication):
|
|
|
|
|
# hook up tornado 3's loggers to our app handlers
|
|
|
|
|
for name in ('access', 'application', 'general'):
|
|
|
|
|
logger = logging.getLogger('tornado.%s' % name)
|
|
|
|
|
logger.propagate = False
|
|
|
|
|
logger.parent = self.log
|
|
|
|
|
logger.setLevel(self.log.level)
|
|
|
|
|
logger.handlers = self.log.handlers
|
|
|
|
|
|
|
|
|
|
def init_webapp(self):
|
|
|
|
|
"""initialize tornado webapp and httpserver"""
|
|
|
|
|
@ -692,8 +691,8 @@ class NotebookApp(BaseIPythonApplication):
|
|
|
|
|
|
|
|
|
|
@catch_config_error
|
|
|
|
|
def initialize(self, argv=None):
|
|
|
|
|
self.init_logging()
|
|
|
|
|
super(NotebookApp, self).initialize(argv)
|
|
|
|
|
self.init_logging()
|
|
|
|
|
self.init_kernel_argv()
|
|
|
|
|
self.init_configurables()
|
|
|
|
|
self.init_components()
|
|
|
|
|
|