Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

1. I want to create a new customevent log ( "My EventLog") on a remote machine.

createEventSource(String,String,String) method was perferct for my need.

Unfortenatly, this method is Obsolete.

My questions is: the two other alternatives don't allow eventlog creation over a remote machine (correct me if I'm wrong).

http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog.createeventsource.aspx


So, my easiest way to do it- is be created a new exe and run it remotely with Psexe. right?

2. Could I count eventlog entries that have some specific ID ?

Regards,
Posted
Updated 27-May-10 12:56pm
v3

You might want to consider an alternative such as the log4Net library, which I have used and found to be a reasonable product, it is, or was last time I looked, open source.

This[^] site has comparisons between several logging products.

Good luck! :)
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900