Writing to the Windows NT/2000 Event Log from WebMethods dev

Easy to write to WebMethods logs, but how do we write specifically to the Windows Event log on a NT/2000 server?

I’ve never done it…but would think that you can execute a windows command from a dos prompt to do this, and therefore execute the same command from the IS. There is a service called “fireCommand” located in WmSamples (sample.commandLineExec:fireCommandExec) that will execute these commands.

See the WmWin32 package. It is an optional package, but includes a wrapper for JNI calls to WmWin32\code\libs\WmEventLog.dll to write to the NT Event log. Look in the pub folder.

HTH,
Fred

I need to do the same for one system. Pl let me know if you have any ideas.