This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Supportability configuration options
editSupportability configuration options
editLogLevel
editSets the logging level for the agent.
Valid options: Critical
, Error
, Warning
, Info
, Debug
, Trace
and None
(None
disables the logging).
The AddElasticApm()
extension enables configuration, as is typical in an ASP.NET Core application.
You must instead set the LogLevel
for the internal APM logger under the Logging
section of appsettings.json
.
More details, including a sample configuration file are available in Configuration on ASP.NET Core.
Environment variable name | IConfiguration or Web.config key |
---|---|
|
|
Default | Type |
---|---|
|
String |