Press Ctrl / CMD + C to copy this to your clipboard.
Copied to clipboard
Flag this post as spam?
This post will be reported to the moderators as potential spam to be looked at
Topic author was deleted
May 07, 2013 @ 15:17
LogHelper not working from IApplicationEventHandler v6.0.4
I'm really trying hard to like v6, but I keep running into 'new ways' of doing just about everything. Part of my development process is to log info from time to time. However I cannot get the new LogHelper to log from my IApplicationEventHandler.
I know the code is executing since the nodes DO change (line just before the log statement), but nothing appears in the log. For fun, I also tried the 'old way' of logging and that does not work either.
The intellisense says it logs if tracing is enabled. I tried to enable tracing in the web.config. But I hope that doesn't mean I have to have tracing on for any logging.
Code is as follows:
namespace SimpleForms {
public class SimpleFormCreate : IApplicationEventHandler {
Topic author was deleted
LogHelper not working from IApplicationEventHandler v6.0.4
I'm really trying hard to like v6, but I keep running into 'new ways' of doing just about everything. Part of my development process is to log info from time to time. However I cannot get the new LogHelper to log from my IApplicationEventHandler.
I know the code is executing since the nodes DO change (line just before the log statement), but nothing appears in the log. For fun, I also tried the 'old way' of logging and that does not work either.
The intellisense says it logs if tracing is enabled. I tried to enable tracing in the web.config. But I hope that doesn't mean I have to have tracing on for any logging.
Code is as follows:
Comment author was deleted
Update. Logging not working at all.
Comment author was deleted
changing forum topics after I upgraded to v6.0.5.
Not really related to the event model
http://our.umbraco.org/forum/developers/api-questions/40760-Logging-not-working-605
is working on a reply...