Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Lew" Subject: =?UTF-8?B?UmU6IFN5c3RlbS5 Message-ID: X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 45 Date: Wed, 27 Apr 2011 15:34:58 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918498 96.60.20.240 (Wed, 27 Apr 2011 10:34:58 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:34:58 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1724 To: comp.lang.java.gui RedGrittyBrick wrote: Lew wrote: >> Pathetic. RedGrittyBrick wrote: > Cruel bastard ;-) Sorry. Intended only for rhetorical effect. All feelings hurt in this newsgroup are the sole responsibility of the reader, blah blah blah. >> Logging takes all of five minutes to learn. > I spent hours trying to find out what logging classes were available, > which were widely used and whether any were a standard part of JRE 1.5. Actually, this is a common problem with Java, all right. I found that log4j was very simple, adapted well to learning a little at a time, and relieved me of all worries about re-instrumenting for production. I therefore ignored all the other choices. >> You should actually learn to use, say, log4j, before you pass >> judgment. Try it, you'll like it. > I will try it, but I suspect I'll probably still use > System.out.println() in small programs (one or two classes, < 200 LOC). Or maybe you won't like it. It took me a few projects to even bother to set up a log4j.properties for a project. Its simplest uses did enough for a while, at least as much as println() and with much less footprint. > Doubtless a Java client *can* be just as concise and easy to learn but > the above were almost straight from the first tutorials I found. I've > not found a simple Java tutorial that only uses classes that are part of > the standard JRE. It's a fair cop. Java can be a real beast. -- Lew --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24