|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
making .NET 2.0 tracefiles readable/parsableI have two questions regarding parsing and reading tracefiles:
1. Is there a tool that can read logfiles that were generated by the ..NET 2.0 tracing and presents the data in a human readable form? Preferably with some searching, sorting and filtering options? 2. How can make the trace output to be written in XML format so that it is easier to parse? I don't think there's any built-in way to do this, but you can build
your own trace listener that will output trace information in a custom XML format, see here for more info: http://www.15seconds.com/issue/020910.htm http://msdn2.microsoft.com/en-us/library/system.diagnostics.tracelistener.aspx Robert Ludig wrote: Show quote > I have two questions regarding parsing and reading tracefiles: > > 1. Is there a tool that can read logfiles that were generated by the > .NET 2.0 tracing and presents the data in a human readable form? > Preferably with some searching, sorting and filtering options? > > 2. How can make the trace output to be written in XML format so that it > is easier to parse? well there is XmlWriterTraceListener, looks like it is what I was
looking for. Chris Fulstow schrieb: Show quote > I don't think there's any built-in way to do this, but you can build > your own trace listener that will output trace information in a custom > XML format, see here for more info: > > http://www.15seconds.com/issue/020910.htm > http://msdn2.microsoft.com/en-us/library/system.diagnostics.tracelistener.aspx > > Robert Ludig wrote: > > I have two questions regarding parsing and reading tracefiles: > > > > 1. Is there a tool that can read logfiles that were generated by the > > .NET 2.0 tracing and presents the data in a human readable form? > > Preferably with some searching, sorting and filtering options? > > > > 2. How can make the trace output to be written in XML format so that it > > is easier to parse? Looks perfect - hadn't seen that one :)
bonk wrote: Show quote > well there is XmlWriterTraceListener, looks like it is what I was > looking for. > > Chris Fulstow schrieb: > > > I don't think there's any built-in way to do this, but you can build > > your own trace listener that will output trace information in a custom > > XML format, see here for more info: > > > > http://www.15seconds.com/issue/020910.htm > > http://msdn2.microsoft.com/en-us/library/system.diagnostics.tracelistener.aspx > > > > Robert Ludig wrote: > > > I have two questions regarding parsing and reading tracefiles: > > > > > > 1. Is there a tool that can read logfiles that were generated by the > > > .NET 2.0 tracing and presents the data in a human readable form? > > > Preferably with some searching, sorting and filtering options? > > > > > > 2. How can make the trace output to be written in XML format so that it > > > is easier to parse? |
|||||||||||||||||||||||