ProcessModelSection.LogLevel Property
.NET Framework (current version)
Gets or sets a value indicating the event types to be logged to the event log.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("logLevel", DefaultValue := ProcessModelLogLevel.Errors)> Public Property LogLevel As ProcessModelLogLevel
Property Value
Type: System.Web.Configuration.ProcessModelLogLevelOne of the ProcessModelLogLevel values. The default value is Errors.
By using this property correctly, you can filter the errors the system can log. After you have an idea of the application's malfunctions or bottlenecks, you might want to devise a strategy that narrows the range of errors you are interested in.
The following code example shows how to access the LogLevel property.
.NET Framework
Available since 2.0
Available since 2.0
Show: