Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my server I want to create custom logs for different applications. How is this done as a server administration exercise?

share|improve this question
Unless you're writing the applications yourself, the applications won't know to write to the new logs that you've created. – mfinni Sep 30 '11 at 16:30
yes, these are our own custom applications! – bigwavesoftware Sep 30 '11 at 18:17
up vote 2 down vote accepted

You could use PowerShell's New-EventLog cmdlet to do this. More info here.

mfinni is right though. This is only useful for your own applications or scripts and such as you won't be able to redirect other apps to your new event log.

share|improve this answer
Exactly - this ain't syslog. – mfinni Sep 30 '11 at 17:23
Thanks for the response. I ran the New-EventLog powershell cmdlet and seemingly added the log (no errors). However, I am not seeing the new log listed under the Applications and Services Logs node in the Event Viewer. Is there another step? – bigwavesoftware Sep 30 '11 at 18:30
From the article I cited - "This cmdlet creates a new classic event log on a local or remote computer." So the log will be under Windows Logs not Applications and Services. – Christopher Sep 30 '11 at 19:00

Your Answer


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.