NSB Router logging

I am using NSB router for routing messages to different db server. I am using latest NServiceBus libraries. It is working fine in one environment where router endpoint listens to queues on Sql Server 2016. But in other environment it is Sql server 2019 where it is not working, I have hosted NSB router in .net core application with worker service. How can I enable logging in router for each incoming and outgoing messages through router? I am using below sample for reference.

Hi

The Router uses NServiceBus logging abstraction. Try setting the log level to Debug to see more details. The version of SQL Server should not be a problem, as both 2016 and 2019 use the same ADO.NET driver (at least from the .NET code point of view) but there might be other environmental issues that debug logging can uncover.

Szymon