[Mono-list] Console.WriteLine and mod_mono

Joshua Tauberer tauberer at for.net
Mon Oct 24 08:18:38 EDT 2005


Hubert FONGARNAND wrote:
> Is there a way to show Console.WriteLine messages in asp.net application 
> (in order to debug) when using mod_mono...
> It works well with xsp...
> Is there a way to log all console output of a web application hosted 
> with mod_mono?

Hi, Hubert.

You can see the output of Console.Error (but not Console.Out) in the 
system-wide Apache error log (e.g. /var/log/httpd/error_log).  (And that 
includes anything mod-mono-server prints out before dieing when it runs 
into serious problems.)

I had a patch to make this easier to access, for Console.Out too and 
without needing root privs, except I haven't gotten it committed yet.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




More information about the Mono-list mailing list