0

I'm looking for a way to create a new log in the Windows Event Viewer. With eventcreate, I can create an event for a certain log and source, but if I give a non existing log name, I get an error saying the '....' log does not exist.

If I use the C# EventLog.CreateEventSource, the Log is automatically created.

So, how do I create such a log under Applications and Services Logs in Event Viewer?

And, if not possible with Command Prompt, is it possible in the Event Viewer itself to create an extra log? (I do not want to go and mess in the registry, because like that you can also create a log).

1

1 Answer 1

1

I resorted to writing a little command line utility myself.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.