Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能有一个简单的答案,但我还没有找到一个。我想知道是否有一个简单的解决方案可以将 trace.axd 的页面级跟踪结果导出到某种日志文件。
谢谢
<trace> 元素具有writeToDiagnosticsTrace选项,使您能够使用跟踪侦听器捕获跟踪事件。
我们已经这样做了,但效果不佳。由于 ASP.NET 中不完整的跟踪支持,我们只能将跟踪事件消息放入文件中 - 没有时间戳,没有经过的时间 - 没有什么真正有用的。
看看这里它可能会带你到你想要的东西:
http://www.15seconds.com/issue/020910.htm