From 1385ef8ebb7c20c180adab00aab6933f66c536fd Mon Sep 17 00:00:00 2001 From: MinRK Date: Thu, 5 Jan 2012 21:12:58 -0800 Subject: [PATCH] log heartbeat failure in notebook --- IPython/frontend/html/notebook/handlers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/IPython/frontend/html/notebook/handlers.py b/IPython/frontend/html/notebook/handlers.py index f793408f5..df3b65c0a 100644 --- a/IPython/frontend/html/notebook/handlers.py +++ b/IPython/frontend/html/notebook/handlers.py @@ -487,6 +487,7 @@ class IOPubHandler(AuthenticatedZMQStreamHandler): def kernel_died(self): self.application.kernel_manager.delete_mapping_for_kernel(self.kernel_id) + self.application.log.error("Kernel %s failed to respond to heartbeat", self.kernel_id) self.write_message( {'header': {'msg_type': 'status'}, 'parent_header': {},