Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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).
Hi Brendan,
Try setting the priority value in Config/log4net.config to "Debug" (I think it is set to "Info" by default).
Regards,
Kev
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
LogHelper.Debug not logging
Any reason why:
wouldn't write to the log file but
does?
I have made sure that debugging is switched on in the Web.config (umbraco debug and .Net debug).
Hi Brendan,
Try setting the priority value in Config/log4net.config to "Debug" (I think it is set to "Info" by default).
Regards,
Kev
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.