ELMAH : Raise ErrorLog_Logged Event
===

I'm new to using ELMAH, but I want to try to pass the GUID to the error page.  

I tried what [this][1] article talked about and I can't get the ErrorLog_Logged to fire. Any ideas why this is occuring.  Do I need to add some additional configuration to the web.config file? (Sorry in advance for the formatting of the code below, can't make it show up correctly).

Thank you,

Here is my global.asax file 

void ErrorLog_Logged(object sender, ErrorLoggedEventArgs args)
    {
        //if (args.Entry.Error.Exception is HandledElmahException)
        //    return;

        var config = WebConfigurationManager.OpenWebConfiguration("~");
        var customErrorsSection = (CustomErrorsSection)config.GetSection("system.web/customErrors");

        if (customErrorsSection != null)
        {
            switch (customErrorsSection.Mode)
            {
                case CustomErrorsMode.Off:
                    break;
                case CustomErrorsMode.On:
                    FriendlyErrorTransfer(args.Entry.Id, customErrorsSection.DefaultRedirect);
                    break;
                case CustomErrorsMode.RemoteOnly:
                    if (!HttpContext.Current.Request.IsLocal)
                        FriendlyErrorTransfer(args.Entry.Id, customErrorsSection.DefaultRedirect);
                    break;
                default:
                    break;
            }
        }
    }

    void FriendlyErrorTransfer(string emlahId, string url)
    {
        Response.Redirect(String.Format("{0}?id={1}", url, Server.UrlEncode(emlahId)));
    }



  [1]: http://stackoverflow.com/questions/2885487/problem-passing-elmah-log-id-to-custom-error-page-in-asp-net