struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <>
Subject RE: logging in struts
Date Mon, 23 Sep 2002 20:05:22 GMT

> -----Original Message-----
> From: Mark Silva []
> Sent: Monday, September 23, 2002 10:08 AM
> To: Struts Users Mailing List
> Subject: logging in struts
> hey there,
> i was wondering what people ar eusing for logging in struts.  
> it seems that with jdk1.4, and the included logging, that 
> would be the right framework.  has anybody had readon to use 
> something else, like the jakarta package, or log4j?  

The Commons Logging component was developed primarily so that someone who
elects to use other Commons components is not locked in to a specific
logging framework. In other words, we didn't want to have to tell people
that if they wanted to use BeanUtils, for example, then they would have to
use Log4J or whatever - that wouldn't fly. If you have the same need in your
own applications, then you are, of course, free to use Commons Logging

Beyond that, it's really a question of your own needs. The various logging
frameworks have differing sets of functionality, although I'm not
sufficiently familiar with them myself to accurately describe those

At my company, we elected to go with JDK 1.4 logging, because we were
already using JDK 1.4, and the logging framework is "just there", and met
our needs.

Martin Cooper

> also i had a question about the configuration file for the 
> loggin using jdk1.4.  where does this go in a typical 
> tomcat/struts setup? 
> thanks,
> mark
> --
> To unsubscribe, e-mail:   
> <>
> For additional commands, e-mail: 
> <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message