Click here to Skip to main content
14,136,754 members
Rate this:
 
Please Sign up or sign in to vote.
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
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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! :)
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190518.1 | Last Updated 28 May 2010
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100