[Mono-bugs] [Bug 499442] Double printing using ConsoleTraceListener
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri May 1 16:22:12 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=499442
User jpryor at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=499442#c3
Jonathan Pryor <jpryor at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Info Provider|dwayne at zeroc.com |
Resolution| |FIXED
--- Comment #3 from Jonathan Pryor <jpryor at novell.com> 2009-05-01 14:22:11 MDT ---
Fixed in r133291.
2009-05-01 Jonathan Pryor <jpryor at novell.com>
* DiagnosticsConfigurationHandler.cs: Don't refer to TraceImpl member
while reading the .config file, instead cache the values and refer
to the cached values during initialization. This prevents recursive
initialization calls (Trace.OnInit() ... Trace.Listeners.Add() ...
Trace.OnInit() ...), and associated duplicate parsing of .config file
sections. Fixes bnc#499442.
* TraceImpl.cs: Cope with DiagnosticsConfigurationHandler changes.
* TraceListenerCollection.cs: Add internal
Add(TraceListener,TraceImplSettings) method for adding
TraceListeners during DiagnosticsConfigurationHandler initialization
(which can't access TraceImpl, as we may still be reading the
.config file to determine the TraceImpl values).
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list