From: Tun W. <we...@gm...> - 2011-11-30 16:36:34
|
Hi: I am new to STAF and I have a basic question about the STAF log. Right now, by using Java, I can new a STAFHandle and give a request to invoke my test function on a remote server. This part is fine. Now I have a question about the log. Is there any way to new STAF log API in java and catch all the information of what's happend on the remote server? Let me explain more. On my remote server, if I open a command-line prompt and run my test func, there are lots of information printed line by line on the screen. But when I invoke this test func through STAF, I can only see a black command-line prompt opened and there is nothing printed during running. Of course, this command-line windows disppear after the test func finsihed. So, here, I want to catch those runtime information in my Java program. Is this possible? (I do not want to launch another log viever to see those info. I want to print the info in my java program) Thank you very much for the help Tun |