[Mono-dev] System tracing

Petit Eric surfzoid at gmail.com
Mon Sep 14 10:46:28 EDT 2009

With WinForm App i use :

        public static EventLog eventLog1;

        public static void InitEventLog()
            eventLog1 = new System.Diagnostics.EventLog();
            // eventLog1
            eventLog1.EnableRaisingEvents = true;
            eventLog1.Log = "Application";
            eventLog1.Source = "UniqueProcess";


This will write in Windows Event log or in file under linux :-)

2009/9/14 APS <dev.malst at apsystems.it>:
> No hints?
> At 12.00 10/09/2009, APS wrote:
>>I'm using asp.net with mod_mono under apache. As I've some
>>performance issue I would like to track down the time used to load
>>assemblies, render web pages etc.
>>I've to add some custom logging or there's a system wide log that I
>>can enable to retrieve this info? If yes, how can I enable it?
>>Thanks in advance to everyone.
>>Mono-devel-list mailing list
>>Mono-devel-list at lists.ximian.com
>>Il messaggio e' stato analizzato alla ricerca di virus o
>>contenuti pericolosi da MailScanner, ed e'
>>risultato non infetto.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list


Small Eric Quotations of the days:
I have no special talents. I am only passionately curious

More information about the Mono-devel-list mailing list