本文介绍了不要在事件查看器中写入日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我确实有第三方C#Exe执行某些操作。我用Program.Start调用它。当Exe执行时,它会将日志写入事件查看器。
我的问题是我们可以防止第三方EXE不应该在事件查看器中写入任何单个日志,因为人们在抱怨这个Exe运行到他们的系统的地方。
有什么方法可以阻止这个吗?
Hello guys,
I do have a third party C# Exe to perform some operation. I do call it using Program.Start. When that Exe executes, it writes log to event viewer.
My question is that can we prevent that the third party EXE should not write any single log in the event viewer, because people are complaining where this Exe is running on to their system.
Is there any way to prevent this??
推荐答案
You said that you have been using some third party componet to call an EXE file.I believe that there might be some settings in the configuration file.
Did you check web.config or any other configuration file?
这篇关于不要在事件查看器中写入日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!