>> From what I can see from the help files, this trace stuff is just a fancy
way of writing to data to a file (if that's the listener I choose) if a flag is set and I can't see any advantage of it over standard logging to a file if a flag is set. I assume I'm wrong because I can't see MS spending a lot of time on this for no reason. So what am I missing? << You probably didn't look very closely. The listeners add a level of indirection. Take a look at the docs and the interfaces available for them. You can write to Trace but redirect the output to one of the built in listeners such as a text file or event log. You can implement your own listener to perform special processing or redirect the output elsewhere. Finally, you can include multiple listeners at the same time, and all of that can be configured via a config file. If you can say for sure that all you will ever need to do is write the data to a file, this may be overkill, but if you ever think you will need the ability to redirect it, you might want to look into it. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
