Unable to register events in application viewer application - WinRun4J

Using the command as described

EventLog.report ("WinRun4J Testing Service", EventLog.INFORMATION, "Ping");

Instead of recording event logs, he writes this

Description for event ID 0 from source WinRun4J test service Cannot be found. Either the component that raises this event that is not installed on your local computer, or the installation is damaged. You can install or repair the component on the local computer.

Information is written to the "Ping" byte data.

While starting the WinRun4JTest application as a service, it successfully writes event logs to "SystemEventLogs"

What am I missing here?

+4
source share

All Articles