[Mono-bugs] [Bug 63469][Nor] New - Mono ASP.NET page level tracing does not match MS ASP.NET

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 10:41:37 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=63469

--- shadow/63469	2004-08-19 10:41:37.000000000 -0400
+++ shadow/63469.tmp.7883	2004-08-19 10:41:37.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 63469
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono ASP.NET page level tracing does not match MS ASP.NET
+
+The Mono implementation of page level tracing does not match that of 
+MS.NET.
+
+To determine whether tracing is enabled (TraceContext.IsEnabled) for a 
+given page, Mono only takes into account the value of the "trace" 
+attribute on the Page directive (and defaults to false), while to values 
+should actually be considered:
+
+- the value of the "enabled" attribute on the <trace> element in 
+<system.web> of the application configuration file
+
+- the value of the "trace" attribute on the Page directive
+
+If no "trace" attribute is defined using a Page directive, then 
+TraceContext.IsEnabled should match the value of the "enabled" settings 
+in the application configuration file.
+
+If a "trace" attribute is defined using the Page directive, then its 
+value should take precendence.
+
+Meaning if tracing is enabled in the application configuration file, but 
+the "trace" attribute is not set on the aspx page then trace information 
+written to the trace (using HttpContext.Trace) should still be output on 
+the generated page.  Currently no trace information (in the Trace 
+Information section of the page-level trace log) is output when the trace 
+attribute of the Page directive is not explicitly set to true. (the trace 
+log itself is shown though)
+
+Let me know if you need a repro for this.