Urgent help needed on writing errors in to windows application logs

Hi all,

we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows

event viewer, application logs. Please help me on how to do this.

do we have any specific API for this ?

thanks in advance

Shivakumar

[317 byte] By [javashivua] at [2007-11-27 1:21:01]
# 1
You should use WinAPI and followed functions: RegisterEventSource(), ReportEvent() and may be some more. It was some time ago as I deal with...
Michael.Nazarov@sun.coma at 2007-7-11 23:58:28 > top of Java-index,Java HotSpot Virtual Machine,Specifications...