@@ -178,6 +178,12 @@ ipc_stream_factory_build_and_add_port (
178178 ipc = ds_ipc_alloc (builder -> path , DS_IPC_CONNECTION_MODE_LISTEN , callback );
179179 ep_raise_error_if_nok (ipc != NULL );
180180 ep_raise_error_if_nok (ds_ipc_listen (ipc , callback ));
181+ ep_char8_t uds_path [DS_IPC_MAX_TO_STRING_LEN ];
182+ if (ds_ipc_get_uds_path (ipc , uds_path , (uint32_t )ARRAY_SIZE (uds_path )) > 0 ) {
183+ DS_LOG_DEBUG_1 ("ipc_stream_factory_build_and_add_port - LISTEN port created for uds path '%s'" , uds_path );
184+ } else {
185+ DS_LOG_DEBUG_1 ("ipc_stream_factory_build_and_add_port - LISTEN port created for path '%s'" , builder -> path ? builder -> path : "(default)" );
186+ }
181187 ep_raise_error_if_nok (dn_vector_ptr_push_back (_ds_port_array , (DiagnosticsPort * )ds_listen_port_alloc (ipc , builder )));
182188#else
183189 DS_LOG_INFO_0 ("ipc_stream_factory_build_and_add_port - LISTEN ports disabled" );
@@ -187,6 +193,7 @@ ipc_stream_factory_build_and_add_port (
187193#ifndef DS_IPC_DISABLE_CONNECT_PORTS
188194 ipc = ds_ipc_alloc (builder -> path , DS_IPC_CONNECTION_MODE_CONNECT , callback );
189195 ep_raise_error_if_nok (ipc != NULL );
196+ DS_LOG_DEBUG_1 ("ipc_stream_factory_build_and_add_port - CONNECT port created for path '%s'" , builder -> path ? builder -> path : "(null)" );
190197 ep_raise_error_if_nok (dn_vector_ptr_push_back (_ds_port_array , (DiagnosticsPort * )ds_connect_port_alloc (ipc , builder )));
191198#else
192199 DS_LOG_INFO_0 ("ipc_stream_factory_build_and_add_port - CONNECT ports disabled" );
0 commit comments