Use log callback instead of event listeners. This prevents log handlers being leaked when transport is silent.