dotnetopenauth

Anyone know how to turn off debugging / Logging in DotNetOpenAuth


I just setup a logging provider using Log4net and noticed when testing that DotNetOpenAuth is logging messages as well. They must be using log4net as well, great I don't want 50 inserts everytime someone logs in with an openID..

Anyway to turn this off?


Solution

  • Yes.

    <configuration>
        <log4net>
            <logger name="DotNetOpenAuth">
                <level value="ERROR" />
            </logger>
        </log4net>
    </configuration>