Question : My.Application.Log.WriteEntry is Not Writing to App Log

There is a service that needs to be debugged and the only way I can do this, so far as I can see, is to run it and send messages to to listener to record the various code points that are executed.

Problem is it does not work and I cannot see why.  The code is simple. Please take a look and maybe you can point out the problem.

If you need more info, and you probably do, please let me know. Thank you.

-Bob
1:
My.Application.Log.WriteEntry("GlobalDirectoryManager timer start: Success")

Answer : My.Application.Log.WriteEntry is Not Writing to App Log


You'll need to verify the settings in the app.config to see where the data is being.

Walkthrough: Determining Where My.Application.Log Writes Information
http://msdn.microsoft.com/en-us/library/7fx0fexe(VS.80).aspx
Random Solutions  
 
programming4us programming4us