|
Servers like JRun and other provide separate logs where all your print requests print their data. For example requests to System.out. And System.err goes to different log files. If you want to maintain logs separately for each module then you can create a static class called "LogWriter" and call the method inside the try catch loop as follows.
try
{
// write your code here
}
catch(Exception e)
{
LogWriter.print("Debug : error occurred at function ")
}
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.