Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brendan Rice 538 posts 1102 karma points
    Apr 09, 2013 @ 03:01
    Brendan Rice
    0

    LogHelper.Debug not logging

    Any reason why:

    LogHelper.Debug(this.GetType(), "Testing that the log works");

    wouldn't write to the log file but 

    LogHelper.Info(this.GetType(), "Testing that the log works");

    does?

    I have made sure that debugging is switched on in the Web.config (umbraco debug and .Net debug).

  • Kevin Cann 5 posts 62 karma points
    Aug 21, 2013 @ 15:36
    Kevin Cann
    2

    Hi Brendan,

    Try setting the priority value in Config/log4net.config to "Debug" (I think it is set to "Info" by default).

    Regards,

    Kev

Please Sign in or register to post replies

Write your reply to:

Draft