Skip to content

The Info level for the trace switch gives an error #1393

Open
@bsonnino

Description

@bsonnino

I'm trying to use the Info level for the trace, but it is giving me an error. The Information switch works fine. The confirg I'm using is like this:
<switches>
<add name="System.Net" value="Information" />
<add name="System.Net.Sockets" value="Verbose" />
</switches>

Using the number levels, like this:
<switches>
<add name="System.Net" value="4" />
<add name="System.Net.Sockets" value="4" />
</switches>

Doesn't show any error, but don't generate any log, so only the named values should be used.
I'm using .NET version 4.6.1


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions