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

Forums / Developing with Sitefinity / Is anyone using log4net along with Sitefinity?

Is anyone using log4net along with Sitefinity?

2 posts, 0 answered
  1. Mark
    Mark avatar
    12 posts
    Registered:
    04 Aug 2010
    28 Feb 2012
    Link to this post
    My development shop has been using log4net for quite awhile to handling logging for our applications. I am creating master pages, pages, and modules in SF, and would like to be able to add logging to the .cs code-behind files. 

    I have configured the SitefinityWebApp for log4net in the same way as all our other web applications, but it is not working. I am not getting errors, but I'm not getting logs, either.
  2. Mark
    Mark avatar
    12 posts
    Registered:
    04 Aug 2010
    29 Feb 2012
    Link to this post
    NOTE: I just forgot to add the log4net magic code to the global.asax file. log4net is working for me now.
2 posts, 0 answered