AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

logger.log

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
dennishancy@eaton.com
Guest





PostPosted: Fri Jul 22, 2005 12:59 pm    Post subject: logger.log Reply with quote



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





PostPosted: Fri Jul 22, 2005 1:33 pm    Post subject: Re: logger.log Reply with quote




<dennishancy (AT) eaton (DOT) com> wrote

Quote:
I inherited a java application which is using the construct
"Logger.log" to print error/debug messages.

snip


Have a look here:

http://www.informit.com/articles/article.asp?p=27774&seqNum=1

HTH



Back to top
dennishancy@eaton.com
Guest





PostPosted: Fri Jul 22, 2005 3:04 pm    Post subject: Re: logger.log Reply with quote



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





PostPosted: Fri Jul 22, 2005 3:11 pm    Post subject: Re: logger.log Reply with quote

[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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.