GroupChat SDK日志记录 [英] GroupChat SDK Logging
本文介绍了GroupChat SDK日志记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,大家好,
我想问一下是否有办法完全禁用GC sdk的日志记录。
I would like to ask if there is a way to completely disable logging that the GC sdk does.
我不希望SDK甚至创建日志文件,即使它仍然是空的。
I wouldn't like the SDK to even create the log file, even if it's still going to be empty.
如果解决方案是添加< log4mgc >在我的应用程序app.config文件中,如何确保GC sdk拾取该部分而不是默认部分?
If the solution is to add a <log4mgc> in my applications app.config file, how do ensure that that section is picked up by the GC sdk and not the default one?
另外,我如何在配置文件中定义该部分?
Also, how do i define that section in my config file?
问候,
Payler
编辑:这适用于OCS 2007 R2。我知道Lync 2010默认禁用了日志记录
This is for OCS 2007 R2. I am aware that Lync 2010 has logging disabled by default
推荐答案
将日志记录设置为NONE将创建一个空文件,我认为没有根本不创建任何文件的方法。
Setting logging to NONE will create an empty file, I don't think there is any way to not create any file at all.
这篇关于GroupChat SDK日志记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文