dnstap logging does not log "opening dnstap destination" to the dnstap channel
Summary
I have a category dnstap setup and I get the "closing dnstap" logged to my dnstap channel. But the logging of "opening dnstap destination ..." did not go to my dnstap channel but to my default (syslog).
I am using dnstap to a unix domain socket. It works fine. I have a dnstap channel and category setup. I get the "closing dnstap" logged as expected at named shutdown.
BIND version used
BIND 9.18.13-dev (Extended Support Version) id:3e46baa
But I also see that this happened in another version. See https://www.mail-archive.com/bind-users@lists.isc.org/msg30000.html which says "I would have expected to see logged in /var/opt/isc/scls/isc-bind/log/named/dnstap" and "... I can't seem to get any more information out other than the single message about "closing dnstap"."
What is the expected correct behavior?
The ./lib/dns/dnstap.c appears to show that the "opening dnstap destination ..." to be logged same as the "closing" message. Does this mean the dns_dt_create() happens before the (not-dnstap) logging subsystem is enabled?