[Mono-list] LAMESPEC?: System.Diagnostics.DiagnosticsConfigurationHandler
Pablo Baena
pbaena@uol.com.ar
17 May 2003 10:42:15 +0000
--=-TztZ7AKcE7KKVncAvwpl
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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>
--=-TztZ7AKcE7KKVncAvwpl
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.10">
</HEAD>
<BODY>
In Mono's System.Diagnostics.DiagnosticsConfigurationHandler.AddTraceListeners (), "name" and "type" are required. On the other hand, MSDN documentation for System.Diagnostics.DefaultTraceListener says that:<BR>
<BR>
<configuration><BR>
<system.diagnostics><BR>
<trace autoflush="false" indentsize="4"><BR>
<listeners><BR>
<remove type="System.Diagnostics.DefaultTraceListener,System"/> <BR>
</listeners><BR>
</trace><BR>
</system.diagnostics><BR>
</configuration><BR>
<BR>
should remove the DefaultTraceListener (apparently without specifying the name).<BR>
<BR>
Thus, that sample .config file throws an exception on Mono.<BR>
<BR>
I can fix this. Should I?<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Pablo Baena <<A HREF="mailto:pbaena@uol.com.ar">pbaena@uol.com.ar</A>>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
--=-TztZ7AKcE7KKVncAvwpl--