We have an app deployed in Azure App Service, and it has the below logging configuration:
If we are not using any methods in the System.Diagnostics namespace (System.Diagnostics.Trace / System.Diagnostics.TraceSource), then what is the relevance of this setting? We have noticed that the system performs poorly when the level is set to "Verbose" and the performance improves when the level is set to "Warning". However, we do not have code that uses
System.Diagnostics.Trace.TraceInformation or System.Diagnostics.Trace.WriteLine
to write a trace.