Attention is currently required from: daniel.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33336 )
Change subject: stream: Allow setting name printed during logging ......................................................................
Patch Set 2:
(3 comments)
File src/stream.c:
https://gerrit.osmocom.org/c/libosmo-netif/+/33336/comment/39ced512_314770c5 PS1, Line 317: LOGSCLI(cli, LOGL_INFO, "retrying reconnect in %d seconds...\n",
Unrelated
It's actually related, because I change the printing in LOGSCLI to drop the function name, so now in here a bit more context is welcome.
https://gerrit.osmocom.org/c/libosmo-netif/+/33336/comment/9ccac6ed_52e1aa72 PS1, Line 421: LOGSCLI(cli, LOGL_ERROR, "send: not connected, dropping data!\n");
Unrelated
Same as above, related.
https://gerrit.osmocom.org/c/libosmo-netif/+/33336/comment/802f9462_c8ad4a44 PS1, Line 1228: struct osmo_stream_srv_link *osmo_stream_srv_link_create(void *ctx)
Also add a create2() function with name as parameter.
Is it really needed? calling osmo_stream_srv_link_set_name() after is good enough. There's even no need to call set_name(), a user may not care about the naming.