Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net mvc 3 应用程序出错后如何启动elmah logger_Asp.net Mvc 3_Logging_Elmah_Application Error - Fatal编程技术网

Asp.net mvc 3 应用程序出错后如何启动elmah logger

Asp.net mvc 3 应用程序出错后如何启动elmah logger,asp.net-mvc-3,logging,elmah,application-error,Asp.net Mvc 3,Logging,Elmah,Application Error,我是分析404个错误的小型机制 我有一个包含旧URL并将其重定向到新URL的小xml 我在应用程序错误中做这件事,但我看到elmah首先记录错误,然后fire应用程序错误,这意味着如果在xml中找到旧url,elmah无论如何都会记录错误:( 有可能以某种方式修复它吗 谢谢看起来我需要使用什么样的过滤器:看起来我需要使用什么样的过滤器:

我是分析404个错误的小型机制

我有一个包含旧URL并将其重定向到新URL的小xml

我在应用程序错误中做这件事,但我看到elmah首先记录错误,然后fire应用程序错误,这意味着如果在xml中找到旧url,elmah无论如何都会记录错误:(

有可能以某种方式修复它吗


谢谢

看起来我需要使用什么样的过滤器:看起来我需要使用什么样的过滤器: