Show More
@@ -141,7 +141,7 b' class KernelApp(BaseIPythonApplication):' | |||||
141 |
|
141 | |||
142 | def init_sockets(self): |
|
142 | def init_sockets(self): | |
143 | # Create a context, a session, and the kernel sockets. |
|
143 | # Create a context, a session, and the kernel sockets. | |
144 |
|
|
144 | self.log.info("Starting the kernel at pid:", os.getpid()) | |
145 | context = zmq.Context.instance() |
|
145 | context = zmq.Context.instance() | |
146 | # Uncomment this to try closing the context. |
|
146 | # Uncomment this to try closing the context. | |
147 | # atexit.register(context.term) |
|
147 | # atexit.register(context.term) | |
@@ -164,8 +164,9 b' class KernelApp(BaseIPythonApplication):' | |||||
164 |
|
164 | |||
165 | # Helper to make it easier to connect to an existing kernel, until we have |
|
165 | # Helper to make it easier to connect to an existing kernel, until we have | |
166 | # single-port connection negotiation fully implemented. |
|
166 | # single-port connection negotiation fully implemented. | |
167 | self.log.info("To connect another client to this kernel, use:") |
|
167 | # set log-level to critical, to make sure it is output | |
168 | self.log.info("--external shell={0} iopub={1} stdin={2} hb={3}".format( |
|
168 | self.log.critical("To connect another client to this kernel, use:") | |
|
169 | self.log.critical("--existing shell={0} iopub={1} stdin={2} hb={3}".format( | |||
169 | self.shell_port, self.iopub_port, self.stdin_port, self.hb_port)) |
|
170 | self.shell_port, self.iopub_port, self.stdin_port, self.hb_port)) | |
170 |
|
171 | |||
171 |
|
172 |
General Comments 0
You need to be logged in to leave comments.
Login now