Rolosoft.comRolosoft Geo IP.NET Documentation
Tracing/Logging and Performance Monitoring

Rolosoft Geo IP.NET uses standard .NET tracing and Windows performance counters. These are made available for advanced users wishing to unit test performance or log what is happening internally with Rolosoft Geo IP.NET.

Performance Counters

Please run the optional "Performance Counter - Install" to install the performance Rolosoft Geo IP.NET counters on your server. The various counters are listed under category Rolosoft AutoCulture Net. Please see the help / description with each performance couter for details of what is being recorded.

Tracing/Logging

Rolosoft Geo IP.NET writes standard "Tracing" messages using standard .NET verbosity levels.

The following shows how to pipe warning messages and higher into the Windows event log.

CopyExample of Event Log Tracing from Geo IP.NET
<system.diagnostics>
    <trace autoflush="false" indentsize="4">
    <listeners>
        <add name="myEventListener"
            type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
            initializeData="ASPNet 2 AutoCulture">
    </listeners>
    </trace>
    <switches>
        <add name="AutoCultureThreading" value="Warning"/>
    </switches>
</system.diagnostics>

If you use event log tracing, please ensure that you grant sufficient permission for ASP.NET to write to the event log.

Useful Resources