开发者

Anyone know how to turn off debugging / Logging in DotNetOpenAuth

开发者 https://www.devze.com 2023-03-05 15:50 出处:网络
I just setup a logging provider using Log4net and noticed when t开发者_JAVA技巧esting that DotNetOpenAuth is logging messages as well. They must be using log4net as well, great I don\'t want 50 insert

I just setup a logging provider using Log4net and noticed when t开发者_JAVA技巧esting 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?


Yes.

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

精彩评论

暂无评论...
验证码 换一张
取 消