ELDLLInstall V01.00.00cpp Joe Richards (joe@joeware.net) February 2002
Usage:
ELDLLInstall sourcename eventlog [OPTIONS]
sourcename Your sourcename
eventlog Which eventlog your Source is int
OPTIONS
/remove Remove source from eventlog
Ex1:
ELDLLInstall joeware system
Add joeware source to system eventlog
Ex2:
ELDLLInstall joeware system /remove
Remove joeware source from system eventlog
Categories defined
1 - Informational
2 - Warning
3 - Error
4 - Fatal Error
5 - Notify
6 - Log Entry
Events defined
100 - %1 Started
101 - %1 Stopped
102 - %1 Completed
103 - %1 Completed in Error
104 - FAILED TO COMPLETE: %1
105 - ERROR: %1
200 - %1
201 - %1
202 - %1
... - %1
499 - %1
Notes:
This is intended to be used with logevent from the resource
kit which allows you to stamp the event logs of a machine with
with a given event. Usually when you do that you get the
annoying message "The Description for cannot be found.
With this DLL and install program you can define your own event
sources and have real looking event messages
LogEvent examples
Ex1:
logevent -s I -c 1 -r joeware -E 100 "Auto SP2 Upgrade"
Logs information level (-s I) Informational Category (-c 1)
eventID 100 (-E 100) using joeware source and %1 string is
Auto SP2 Upgrade.
Ex1:
logevent logevent -s E -c 4 -r joeware -E 300 "Major FUBAR!"
Logs error(-s E) Fatal Error Category (-c 4) event
ID 300 (-E 300) using joeware source and %1 string is
Major Fubar.
This software is Freeware. Use it as you wish at your own risk.
If you have improvement ideas, bugs, or just wish to say Hi, I
receive email 24x7 and read it in a semi-regular timeframe.
You can usually find me at joe@joeware.net