diff --git a/sdx_controller/__init__.py b/sdx_controller/__init__.py index 5d088d9..7302be5 100644 --- a/sdx_controller/__init__.py +++ b/sdx_controller/__init__.py @@ -49,9 +49,9 @@ def create_app(run_listener: bool = True): threads, which is when run_listener param might be useful. """ if LOG_FILE: - logging.basicConfig(filename=LOG_FILE, level=logging.INFO) + logging.basicConfig(filename=LOG_FILE, level=logging.DEBUG) else: - logging.basicConfig(level=logging.INFO) + logging.basicConfig(level=logging.DEBUG) app = connexion.App(__name__, specification_dir="./swagger/") app.app.json_encoder = encoder.JSONEncoder diff --git a/sdx_controller/handlers/connection_handler.py b/sdx_controller/handlers/connection_handler.py index 32fa722..470caaa 100644 --- a/sdx_controller/handlers/connection_handler.py +++ b/sdx_controller/handlers/connection_handler.py @@ -136,7 +136,7 @@ def place_connection( graph = te_manager.generate_graph_te() if graph is None: - return "Could not generate a graph", 424 + return "No SDX topology found", 424 traffic_matrix = te_manager.generate_traffic_matrix( connection_request=connection_request