I configured Nhibernate and log4net to log queries executed by nhibernate. Is there any way to log each query execution time?
Just configure your ConversionPattern to use the '%d' parameter. Look at this example.
You might want to try nhibernate profiler. It has 30 day trial which is enough to figure out what's happening and catch all problems. And it's a nice tool in general - worth buying in case You rely on nhibernate heavily.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With