log4j NT event viewer problem

J

JayCKY

Dear All,

I want to use log4j to enter log into NT event viewer. I have success
to do it. But I want to ask can I set the category of the event
manually? Now, the event category is generated by the log4j API what is
either 10001, 20001, 30001, 40001, 50001, can I set it manually such as
"device" or "host" etc.
Or else, if this API cannot do it, is there any other API can do so
what is append log into NT event viewer.
Thank you very much!!^^

Jay
 
J

Joan

Dear All,

I want to use log4j to enter log into NT event viewer. I have
success
to do it. But I want to ask can I set the category of the event
manually? Now, the event category is generated by the log4j API
what is
either 10001, 20001, 30001, 40001, 50001, can I set it manually
such as
"device" or "host" etc.
Or else, if this API cannot do it, is there any other API can
do so
what is append log into NT event viewer.
Thank you very much!!^^

Jay


If by "NT event viewer" you mean windows NT version 4, it is not
supported anymore, change to windows XP or XP pro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,204
Latest member
LaverneRua

Latest Threads

Top