0

I'm using System.Diagnostics on my Azure instances. I have some settings on my webconfig:

<system.diagnostics>
    <switches>
      <!-- Off = 0, Error 1, Warning = 2, Info = 3, Verbose = 4 -->
      <add name="logLevel" value="2" />
    </switches>
    <trace autoflush="true"
     ...

I would like to know what is the default logLevel value.

Jordi
  • 2,789
  • 1
  • 20
  • 35

1 Answers1

0

There is no default value for switch. value is required attribute. Application will throw ConfigurationErrorsException if no value is provided (from here).

Read more about configuration here.

astaykov
  • 30,768
  • 3
  • 70
  • 86