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