473,382 Members | 1,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

making .NET 2.0 tracefiles readable/parsable

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?

Oct 10 '06 #1
3 1260
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/lib...elistener.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?
Oct 10 '06 #2
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/lib...elistener.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?
Oct 10 '06 #3
Looks perfect - hadn't seen that one :)

bonk wrote:
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/lib...elistener.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?
Oct 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Iain Bethune | last post by:
I am having a problem with creating a SocketChannel which can read data. Here is the relevant code snippet (from the code for my networking client): SocketChannel channel =...
10
by: Andrew Henshaw | last post by:
Yesterday, I was writing some test code for a module and I wanted some line-oriented text to use as a data source. I thought about using a docstring from one of the standard modules; but, it...
31
by: CYBER | last post by:
Hello Is there any other way under python to create blocks ?? instead of def sth(x): return x
1
by: Michael Chermside | last post by:
I (Michael Chermside) wrote: > a brace and either way it throws the logic off. I created a > bug in one of > my programs recently just by adding logging. It looked like this: > > if...
4
by: Troll | last post by:
Hi, Would something like: if (-r $name) { : # do nothing } else { print "File is not readable...\n"; }
4
by: John Baro | last post by:
I need to determine which fonts are human readable. Webdings, wingdings etc.. are not. Is there any easy way to accomplish this? Cheers JB
2
by: lucifer | last post by:
hi i am making an http server it has following functions main() { if option is "-?", output the hints and stop check the directory supplied is sensible and not a security risk become a daemon...
3
by: cokofreedom | last post by:
I've written up a little piece of code that isn't that foolproof to scan through a file (java presently) to find functions and then look for them throughout the document and output the name of the...
26
by: Swifty | last post by:
I'm sending an HTML email to Lotus Notes and I'd like to hide some text from casual observation. There is nothing sinister in this; the text to be hidden is simply a 12-digit number that I use to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.