Skip to content
Snippets Groups Projects
Commit 58942238 authored by Paul-Winpenny's avatar Paul-Winpenny
Browse files

Trying to figure out why the logged messages aren't being printed out

parent 13225432
Branches
No related tags found
No related merge requests found
...@@ -69,9 +69,3 @@ class ConnectionManager: ...@@ -69,9 +69,3 @@ class ConnectionManager:
if __name__ == "__main__": if __name__ == "__main__":
ConnectionManager(None).start() ConnectionManager(None).start()
while True:
time.sleep(1)
user_input = input("Type 'exit' to stop: ")
if user_input == "exit":
break
ConnectionManager(None).stop()
...@@ -24,7 +24,7 @@ class ApiNode(Node): ...@@ -24,7 +24,7 @@ class ApiNode(Node):
self.connection_manager = ConnectionManager(self) self.connection_manager = ConnectionManager(self)
self.connection_manager.start() self.connection_manager.start()
self.get_logger().info("Connection manager started.")
def handle_client_connection(self, client_socket): def handle_client_connection(self, client_socket):
"""Handles incoming TCP client connections.""" """Handles incoming TCP client connections."""
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment