2

I am trying to get the new log to appear as a node under the Applications and Services Logs node in the event viewer, and I just learned here that the Powershell cmdlet New-EventLog will create a new event log.

I ran the cmdlet and it ran with no errors, so seemingly it worked. However, I am not seeing the new event log even after a right-click/refresh of the Applications and Services Logs folder.

Is there another step to make this appear?

My goal is for our custom applications to be able to write to application specific event logs located under Applications and Services Logs for easier monitoring.

1 Answer 1

2

Your answer lies here, in the notes near the bottom of the page.

2
  • Thanks for the answer. It made me reread those notes, and although I had already made 'note' of those, it tweaked a thought that maybe shutting down the Event Viewer and reopening would make them appear. I did that and voila, the logs appeared. The notes say that no logs are created until actually written to, but that is not the behavior I am seeing. If I create the log, shut down Event Viewer and reopen, I can see it. Sep 30, 2011 at 20:35
  • Glad to help...
    – joeqwerty
    Sep 30, 2011 at 23:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.