JRas Message logger files does not get created
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Harsh_Soni
Posted On:   Wednesday, July 9, 2003 03:23 PM

Hi, I want to use JRas in order to print my logging messages to a file on AppServer (Websphere) I wrote a simple java client to test the following code snippet: Manager manager = Manager.getManager(); RASIMessageLogger ml = manager.createRASMessageLogger(the parameters); ml.setMessageFile("D:\DSTrace"); I then made use of the above code in a method in the following way: test(RASIMessageLogger ml) {ml.textMessage (RASIMessageEvent.TYPE_INFO, class name, "test", "Hello World!"); } The problem is that the file D:\DSTrace doesn't get created at all. Any idea as to   More>>

Hi,




I want to use JRas in order to print my logging messages to a file on AppServer (Websphere)




I wrote a simple java client to test the following code snippet:




Manager manager = Manager.getManager();
RASIMessageLogger ml = manager.createRASMessageLogger(the parameters);
ml.setMessageFile("D:\DSTrace");



I then made use of the above code in a method in the following way:




test(RASIMessageLogger ml) {ml.textMessage (RASIMessageEvent.TYPE_INFO, class name, "test", "Hello World!");
}



The problem is that the file D:\DSTrace doesn't get created at all. Any idea as to why this is happening?

   <<Less
About | Sitemap | Contact