c# - Azure App Service Tracing -
we have app deployed in azure app service, , has below logging configuration:
if not using methods in system.diagnostics namespace (system.diagnostics.trace / system.diagnostics.tracesource), relevance of setting? have noticed system performs poorly when level set "verbose" , performance improves when level set "warning". however, not have code uses
system.diagnostics.trace.traceinformation or system.diagnostics.trace.writeline
to write trace.
keep in mind code not thing executes when request comes in.
even if not using system.diagnostics.trace namespace in application, chances have nuget packages or other dependencies might be.
in addition this, server code hosts app takes input flag spin necessary process listen , capture trace events , in competes resources app.
you should check output file in blob storage idea of how data verbose level generates.
you should not set logging verbose unless tying collect information diagnose issue. production workloads want set errors only.

Comments
Post a Comment