+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / ELMAH logging messages from Logger.Write()

ELMAH logging messages from Logger.Write()

2 posts, 0 answered
  1. Dan
    Dan avatar
    14 posts
    Registered:
    01 Dec 2014
    06 Feb 2015
    Link to this post

    Hi,

    We recently upgrade from 6.3 to 7.2 and added ELMAH to the project.  ELMAH is working correctly; however, it is logging everything from the calls to Logger.Write() as HttpExceptions.  Is this by design or is it a misconfiguration?  It would be nice if we could configure ELMAH to only log unhandled exceptions.

     Is this possible?

    Thanks,

     Dan

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    11 Feb 2015
    Link to this post
    Hello Dan,

    Using the Elmah you can try setting Log filters in the web.config.

    More information and examples could be found here.

    I hope this information helps.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered