[mapguide-users] Re: EXAMPLE: Serving MapTiles directly

Rodolfo Moreno rodolfoamoreno at gmail.com
Thu Feb 25 14:57:18 EST 2010


Hi Pietro,
There is a part in your code where the log4net class is not preceded by #if
LOG_WITH_LOG4NET:

catch (ArgumentNullException ex)
        {
            log4net.ILog logger =
log4net.LogManager.GetLogger("exceptions");
            logger.Error("GetMGTiles.ashx::ProcessRequest
[ArgumentNullException]", ex);

            context.Response.StatusCode = (int)HttpStatusCode.NotFound;
            System.Diagnostics.Trace.WriteLine(ex.ToString());
        }

Regards,

-----
Rodolfo Moreno
CivilEng

-- 
View this message in context: http://n2.nabble.com/EXAMPLE-Serving-MapTiles-directly-tp4626665p4634954.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list