事件查看器中的数千条消息

发布于 2024-09-19 17:38:12 字数 318 浏览 2 评论 0原文

我有一个在 IIS 中运行的 Web 服务,没有抛出任何错误,一切都运行良好。但我注意到事件查看器中有数千条消息。每次我向 Web 服务发送请求时,其中一些消息都会添加到事件查看器中。

偶数类型 = 信息 事件 ID = 0 类别 = 无 源 = /LM/W3SVC/*****/WebServiceName/************ 说明 = 从以下位置加载配置:E:\inetpub\MyWebServicePath\web.config

为什么 IIS 在事件查看器中记录所有这些消息,这增加了很多噪音,事件 ID = 0 表示 ERROR_SUCESSS,这意味着操作已完成成功地。

I have a web service running in IIS, there are no errors being thrown and everything works great. BUT I notice that there are thousands of Messages in the Event viewer. Every time I send a request to the web service, a few of this messages are added to the Event viewer.

Even Type = Information
Event ID = 0
Category = None
Source = /LM/W3SVC/******/WebServiceName/**********
Description = Loaded config from: E:\inetpub\MyWebServicePath\web.config

Why is IIS logging all this messages in Event Viewer, this is adding a lot of noise, The Event ID = 0 means ERROR_SUCESSS, which means that the operation was completed successfully.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

仙女 2024-09-26 17:38:12

看看

在您的 web.config 中

是否有 System.ServiceModel 的条目?
这会导致添加大量日志。

Take a look in

in your web.config

is there an entry there for System.ServiceModel?
That will cause a lot of logs to be added.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文