3

Using the command as described

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

Instead of writing the event logs it writes this

The description for Event ID 0 from source WinRun4J Test Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

The information is written in byte data "Ping"

Whereas running the WinRun4JTest app as service it successfully writes the event logs in "SystemEventLogs"

What am i missing here ?

Basit Anwer
  • 6,742
  • 7
  • 45
  • 88

0 Answers0