开发者

Anyone know how to turn off debugging / Logging in DotNetOpenAuth

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜