Can I count on this ASP.NET event log source always being registered?

江枫思渺然 提交于 2019-12-06 13:30:22

This event log source is installed by ASP.NET as part of ASP.NET Health Monitoring. In particular, it is written to by the EventLogProvider.

Possibly. However I think that all events in windows are stored in the event log. By default .NET's built-in trace listener writes application events to the event log whenever an error occurs. You can see where the log is located in your registry, or view the logs with the Event Viewer.

Click Start, click Run, type regedt32, and then click OK.

On the Windows menu, click HKEY_LOCAL_ MACHINE on Local Machine.

For the System log:

Click the System\CurrentControlSet\Services\EventLog\System folder, and then double-click the FILE value.

For the Application log:

Click the System\CurrentControlSet\Services\EventLog\Application folder, and then double-click the FILE value.

For the Security log:

Click the System\CurrentControlSet\Services\EventLog\Security folder, and then double-click the FILE value.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!