[Mono-aspnet-list] Program Trace in mono

derLars larsscheithauer at googlemail.com
Mon Aug 10 09:31:52 EDT 2009




> There are several ways to obtain trace output:
>         -Anything you write to Console.Error will be in the apache
>         error_log
>         -You can use System.Diagnostics.TraceListener and friends to
>         send the trace output wherever you want
>         -If you want to trace ASP.NET events, there's @Page Trace="True"
>         and/or Trace.axd
>         -If you want to get the trace generated fro 'mono --trace', I
>         would recommend restricting by assembly or namespace (see
>         mono(1)) and adding those options via 'MonoSetEnv
>         MONO_OPTIONS=--trace=blahblah' to your mod_mono.conf
>         
> -Gonzalo
> 

I currently have the same problem. Mono should output all traces in the page
with ...
<%@ Page Language="C#" Inherits="test_ws.Default" Trace="true" %>
... in the aspx-file and ...
<trace enabled="true" localOnly="false" pageOutput="true" requestLimit="40"
traceMode="SortByTime" />
... in web.config, but it doesn't. Setting pageOutput=false and trying to
get trace.axd also doesn't work, saying that this isn't enabled in the
config file.

Any suggestions?
-- 
View this message in context: http://www.nabble.com/Program-Trace-in-mono-tp24050588p24899798.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list