Andrew Stitcher created PROTON-2935:
---------------------------------------
Summary: Setting default logger sink context doesn't work correctly
Key: PROTON-2935
URL: https://issues.apache.org/jira/browse/PROTON-2935
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: proton-c-0.40.0
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher
If you use {{pn_logger_set_log_sink}} to set the process default_logger log
sink before creating a transport, the sink context gets overwritten when the
transport copies the default logger. So setting the logging sink early so that
it is used by the entire process is very limited/causes things to fail.
This should work because setting the default logger is documented to be the way
to affect logging for the entire process.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]