| View previous topic :: View next topic |
| Author |
Message |
dennishancy@eaton.com Guest
|
Posted: Fri Jul 22, 2005 12:59 pm Post subject: logger.log |
|
|
I inherited a java application which is using the construct
"Logger.log" to print error/debug messages.
As an example, one line looks like this:
Logger.log("ClassName", "Method()", strMsg, e);
Also have these import statements at the top:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.net.*;
import java.util.*;
Where can I find out where the results of these messages go? Is there
an easier way to print debug-type messages?
Thanks.
Dennis Hancy
Eaton Corporation
Cleveland, OH
|
|
| Back to top |
|
 |
Richard H Guest
|
|
| Back to top |
|
 |
dennishancy@eaton.com Guest
|
Posted: Fri Jul 22, 2005 3:04 pm Post subject: Re: logger.log |
|
|
Thanks... the one thing that still mystifies me is where the output of
these messages go.
Is there an easier way to debug java code?
|
|
| Back to top |
|
 |
Jan Peter Stotz Guest
|
Posted: Fri Jul 22, 2005 3:11 pm Post subject: Re: logger.log |
|
|
[email]dennishancy (AT) eaton (DOT) com[/email] schrieb:
| Quote: | Is there an easier way to debug java code?
|
Use an IDE that allows you to set breakpoints, step by step execution and
inspection of all variables during runtime. I have done this with Eclipse
and several java servers (Tomcat, JBoss, Jetty).
Jan
|
|
| Back to top |
|
 |
|