[Mono-list] LAMESPEC?:
System.Diagnostics.DiagnosticsConfigurationHandler
Jonathan Pryor
jonpryor@vt.edu
17 May 2003 10:48:53 -0400
Go ahead and fix it. It doesn't seem to be a particularly lame
requirement, as not everyone will expect the default TraceListener to be
named "Default" (case sensitive).
Could you also update the test cases in
class/System/Test/System.Diagnostics/DiagnosticsConfigurationHandlerTest.cs?
- Jon
On Sat, 2003-05-17 at 06:42, Pablo Baena wrote:
> In Mono's
> System.Diagnostics.DiagnosticsConfigurationHandler.AddTraceListeners
> (), "name" and "type" are required. On the other hand, MSDN
> documentation for System.Diagnostics.DefaultTraceListener says that:
>
> <configuration>
> <system.diagnostics>
> <trace autoflush="false" indentsize="4">
> <listeners>
> <remove
> type="System.Diagnostics.DefaultTraceListener,System"/>
> </listeners>
> </trace>
> </system.diagnostics>
> </configuration>
>
> should remove the DefaultTraceListener (apparently without specifying
> the name).
>
> Thus, that sample .config file throws an exception on Mono.
>
> I can fix this. Should I?
>
> --
> Pablo Baena <pbaena@uol.com.ar>