ELMAH是否可以检测仅在事件日志中记录的ASP.NET异常?

时间:2019-03-22 09:19:32

标签: asp.net-mvc-4 elmah.mvc eventlog-source

我在ASP.NET MVC应用程序上配置了ELMHA,但仍然无法在ELMHA日志中看到一些我仅在EvenLogs中具有的异常作为警告(以下示例)

  

事件代码:3005
  事件消息:发生未处理的异常。   活动时间:3/8/2019 8:21:24 AM
  活动时间(UTC):3/8/2019 8:21:24 AM   事件ID:475a4611ce9647daa7913ba0054bf7c1
  事件顺序:10
  事件发生:1
  活动详细代码:0
  申请信息:

Application domain: /LM/W3SVC/2/ROOT/OData-19-131964485503191222 
Trust level: Full 
Application Virtual Path: /OData 
Application Path: .... 
Machine name: DCSEUIRLSSSRS01    Process information: 
Process ID: 15508 
Process name: w3wp.exe 
Account name: IIS APPPOOL\ODataReportService    Exception information: 
Exception type: ArithmeticException
Exception message: Overflow or underflow in the arithmetic operation.

Request information: 
Request URL: .... 
Request path: /odata/api/Orders 
User host address: xxx.xxx.xxx.xxx 
User: ... 
Is authenticated: True 
Authentication Type: BasicAuth 
Thread account name: IIS APPPOOL\ODataReportService    Thread information: 
Thread ID: 192 
Thread account name: IIS APPPOOL\ODataReportService 
Is impersonating: False 
Stack trace: 
Custom event details:

0 个答案:

没有答案