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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...