什么日志查看器工具可以读取System.Diagnostics.EventSchemaTraceListener创建的XML? [英] What log viewer tools can read the XML created by System.Diagnostics.EventSchemaTraceListener?

查看:226
本文介绍了什么日志查看器工具可以读取System.Diagnostics.EventSchemaTraceListener创建的XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在把我们的日志实现使用System.Diagnostics.TraceSource的过程。我们要充分利用活动追踪,我们要读与像WCF的svctraceviewer及放工具的多个服务器的多个日志文件; LOGPARSER。

I am in the process of converting our logging implementation to use System.Diagnostics.TraceSource. We want to take advantage of activity tracing and we want to read multiple log files from multiple servers with tools like WCF's svctraceviewer & logparser.

我已经转换了code使用TraceSource,现在我在评估跟踪侦听器性能的过程。最终,我们想利用ETW,但它会在数月之前,我们迁移到Windows Server 2008的,所以我们不能用EventProviderTraceListener呢。从文档很明显,EventSchemaTraceListener是生成文本文件输出表现最好的跟踪侦听器。 previously我使用XmlWriterTraceListener一直和我能够打开通过与svctraceviewer创建的日志。不幸的是EventSchemaTraceListener输出不同的XML,虽然svctraceviewer不会打开,转换的文件不会做大量的工作和重要领域都将丢失(如日志消息的文本)。

I have converted our code to use TraceSource and now I am in the process of evaluating performance of trace listeners. Ultimately we want to take advantage of ETW but it will be a few months before we move to Windows Server 2008 so we cannot use EventProviderTraceListener yet. From the documentation it is clear that EventSchemaTraceListener is the best performing trace listener that produces text file output. Previously I had been using XmlWriterTraceListener and I was able to open up the logs created by it with svctraceviewer. Unfortunately EventSchemaTraceListener outputs different XML and although svctraceviewer does open and convert the file it doesn't do a great job and important fields are lost (like the text of the log message).

有比事件查看器在Vista和放大器等的工具;视窗7用于读取由EventSchemaTraceListener创建的日志文件。我希望用svctraceviewer因为它过滤了很好的工作,并以下活动tranfers。

Is there a tool other than EventViewer on Vista & Windows 7 for reading the log files created by EventSchemaTraceListener. I was hoping to use svctraceviewer because it does a nice job of filtering and following activity tranfers.

我可以写一个XSLT转换将XML转换为预期svctraceviewer的格式。如果是这样做的唯一方法我可能会做,但我希望有已经一个工具来读取的格式输出EventSchemaTraceListener更新。有谁知道?

I could write an XSLT transform to convert the XML to the format expected by svctraceviewer. If that is the only way to do this I will probably do that but I was hoping that there was already a tool to read the newer format output by EventSchemaTraceListener. Does anybody know?

感谢。

推荐答案

我的认为的你想要的是的 TraceView 。它可作为DDK的一部分。 (不知道为什么它不是平台SDK的一部分。)

I think what you want is TraceView. It's available as part of the DDK. (Not sure why it's not just part of the Platform SDK.)

也许不完全是你要找的是什么,但对于输出XML文件的架构被称为event.xsd。您可以通过下载平台SDK得到它。

Maybe not exactly what you're looking for, but the schema for the output XML file is called event.xsd. You can get it by downloading the Platform SDK.

这篇关于什么日志查看器工具可以读取System.Diagnostics.EventSchemaTraceListener创建的XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆