CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    130

    Logging with windows service

    Im using an EventLog to log stuff in a windows service that I've created. My problem is, where can I find and read the log?

  2. #2
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    257

    Re: Logging with windows service

    Through code? The file is located at: C:\WINDOWS\system32\config\AppEvent.Evt
    Note: I've seen special programs written to read the event viewer so I don't think you should mess with that without the proper knowledge.

    If personally then go to Start>Control Panel>Administrative Tools> Event Viewer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured