Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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

share|improve this answer
    
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. –  John Sep 30 '11 at 20:35
    
Glad to help... –  joeqwerty Sep 30 '11 at 23:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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