LogFactory.getLog()

2010-08-06 Thread Doug Bateman
Dear Commons Developers, Here's a suggestion for the commons-logging package... Presently, in Apache Commons, the most common way to get a logger is to do something like: public class MyClass { private static Log log = LogFactory.getLog(MyClass.class); } Notice how MyClass.class (or alterna

Re: LogFactory.getLog()

2010-08-06 Thread Doug Bateman
Correction, the sample is Java 1.1+ compatible. I used a PrintWriter (although I could remove that).

Re: LogFactory.getLog()

2010-08-08 Thread Doug Bateman
Here's the JIRA issue. Sebb, you're right, it seems the Thread.getStackTrace() is Java 1.5, while Throwable.getStackTrace() is Java 1.4. I probably should use the Throwable.getStackTrace() instead. I had started there, which is where the Java 1.4 assumption came from. On Sun, Aug 8, 2010 at 5:0

Re: LogFactory.getLog()

2010-08-08 Thread Doug Bateman
https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12471073 On Sun, Aug 8, 2010 at 11:58 AM, Doug Bateman wrote: > Here's the JIRA issue. > > Sebb, you're right, it seems the Thread.getStackTrace() is Java 1.5, while > Throwable.getStackTrace() is Java 1.4.

Re: LogFactory.getLog()

2010-08-08 Thread Doug Bateman
It just isn't my day. It's rainy here. Here we go: https://issues.apache.org/jira/browse/LOGGING-137 On Sun, Aug 8, 2010 at 3:56 PM, Doug Bateman wrote: > https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12471073 > > On Sun, Aug 8, 2010 at 11:58 AM,

Consolidating Subprojects

2009-11-21 Thread Doug Bateman
Howdy all, Tonight while browsing through the latest commons projects, it occurred to me the once modest commons project has grown substantially over time and has a lot of great stuff.  There are now lots of sub projects. Actually, it's 37 active subprojects to be exact.  Plus the archived projec

Re: Consolidating Subprojects

2009-11-22 Thread Doug Bateman
> Raising one question: do you thing some production project could use > latest version of project commons.A and old version of commons.B ? They > would probably not like merging both projects into one. Is this a use > case we want to address or is it too theoretical ? Well, the dependencies betwe

Accidental Facebook Spam

2009-12-23 Thread Doug Bateman
Dear Friend, Please accept my apologies for any emails you received regarding photo sharing in *Facebook*. As a rule I avoid sending undesired emails to anyone. Yet today, while using Facebook to locate old friends, a mouse mistake resulted in an email being sent to every person with whom I've s