20/10/2001 3:15:02 PM, "Dr. Evil" <[EMAIL PROTECTED]> wrote:

>> I use Visual Age for Java .
>
>I should look into that but I can't afford to buy stuff like that
>right now.  

You could take a look at it in the long run. IBM gives away VA 4.0 Entry Enterprise 
for free. You could download VA from their site, or go to 
www.developerworks.ibm.com, and subscribe to the free CDROM there. This contains VA 
among other goodies, and usually arrives within 2 weeks.


>This whole situation is aweful.  I looked into log4j, and
>it looks like it has tons of features, except it doesn't have the one
>feature which I really want, which is being able to log a string to a
>file.  It can log a string to a Writer, but then how do I declare a
>global writer variable that it can write to?  Is there a way to
>declare absolutely global static objects in Tomcat?  Why can't there
>be something as simple as log("string", "filename") which I can just
>call anywhere, any time, and it writes the string to the file?  Under
>Tomcat 4, System.out.println doesn't even work.  All I want is to see
>why my class method isn't doing what I think it should do.
>

Well, have you checked the log files ?

Guys like Craig etc, have been pointing to the xml configuration files. I'll go take a 
look myself.

>I'm about to throw away my project and go back to PHP.  Java may be
>powerful, but if I can't debug stuff, then anything more complex than
>"hello world" is nearly intractable.
>
>Java is so widely used.  Surely there is some kind of logging
>mechanism that works easily with minimal dependencies?
>
>Sometimes some parts of working with Java are so powerful that it's
>hard to do basic things with them.
>

Well, I guess that's why I'm interested in Smalltalk :-) (Aargh ! no flames please !)

Sriram


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to