Yes, I had thought of using the Lumberjack API for the 1.3 VM (port of the 1.4 logging 
API for older JVMs: http://javalogging.sourceforge.net/), since this *should* at least 
make the upgrade path easy to 1.4 logging API, when the time comes. However, I'm 
turned off by a few things - e.g. you have to include the API classes in the boot 
classpath, otherwise you get a SecurityException due to the use of reserved "java.*" 
package names. 



-----Original Message-----
From: Martin Kisimov [mailto:[EMAIL PROTECTED]] 
Sent: 09 July 2002 13:52
To: JDJList
Subject: [jdjlist] RE: Log4j vs. 1.4/JSR47 Logging API


Hi Alastair, 
One problem that I have come across is that using the APIs from 1.4 requires you to 
use the appropriate environment, i.e. 1.4. Most Application servers, apart from the 
open source ones, such as Tomcat and JBoss support previous versions of the 
environment 1.2 and 1.3. If you are not presented with this problem, I can't offer a 
detailed opinion on the benefits of using the one versus the other. In a distributed 
environment you may not have this problem, or if you are not using an application 
server this is also not a problem as long as you are not restricted by the use of the 
appropriate environments.
We are currently using Log4J, but this is purely based on the fact that the decision 
was made before the APIs of 1.4 were available.
Hope this helps 
Martin 


-----Original Message----- 
From: Alastair Rodgers [mailto:[EMAIL PROTECTED]] 
Sent: 09 July 2002 02:38 
To: JDJList 
Subject: [jdjlist] Log4j vs. 1.4/JSR47 Logging API 


Hi, 
I'm trying to decide whether to use Log4J or the Java 1.4 logging API (JSR47) in a 
distributed J2EE app. 
I've read a lot of opinions expressed favouring Log4J over 'standard' Java 1.4 
logging, but most of what I've read seems to be quite old and was written before the 
final release of the 1.4 API, e.g. 
http://www.ingrid.org/jajakarta/log4j/jakarta-log4j-1.1.3/docs/critique.html, and I 
think some changes may have been made to the 1.4 spec as a result of the criticisms. 
Can anyone give me an informed opinion of whether there is still such a great 
difference between these two frameworks, and which they would recommend? 
Thanks, 
Al. 
To change your membership options, refer to: 
http://www.sys-con.com/java/list.cfm 

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to