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
    01 Dec 2014
    06 Feb 2015
    Link to this post


    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?



  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    06 Sep 2017
    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.

    Svetoslav Manchev
    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