Hello there,
It seems to work but I noticed some logs are missing such us when the SourceContext are
- NHibernate.Type.StringType
NHibernate.Type.DateTimeType
etc ...
The planned SQL statement
We believe NHibernate isn't correctly set to debug level even if serilog is set as minimum level to debug.
We tried to set the minimul level of serilog and with the override of NHibernate in configuration (using Serilog.Sinks.AppSettings) or by code
<add key="serilog:minimum-level" value="Debug" />
<add key="serilog:minimum-level:override:NHibernate" value="Debug" />
.MinimumLevel.Debug()
.MinimumLevel.Override("NHibernate", Serilog.Events.LogEventLevel.Debug)
Any suggestions? Something else to set? Something else to check?
Thanks
NHibernate version is 5.3.12
serilog version is 2.12.0