commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Trivial Update of "How to Configure the Logging Factory and the Logging Class" by ArchimedesTrajano
Date Fri, 24 Feb 2006 23:16:39 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by ArchimedesTrajano:
http://wiki.apache.org/jakarta-commons/How_to_Configure_the_Logging_Factory_and_the_Logging_Class

The comment on the change is:
Fixed external URL links.

------------------------------------------------------------------------------
  
  At this point I started wondering, whether one could use this to actually
  configure logging for Turbine applications . I looked at the docs and found the 
- docs on how to configure the [http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html
LogFactory]
+ docs on how to configure the [http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/LogFactory.html
LogFactory]
  buried three deep in the API docs.
  
  In Turbine 2.3 we have used
@@ -20, +20 @@

                                     Log4jFactory.class.getName());
  }}}
  
- to set up the [http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html
LogFactory ] class which is not exactly the most elegant thing
+ to set up the [http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/LogFactory.html
LogFactory ] class which is not exactly the most elegant thing
  to do.
  
  If you know, where to look, you will find a page in the docs which describes the 
- configuration process in detail. [http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html
Look here.]
+ configuration process in detail. [http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/package-summary.html
Look here.]
  
  Please note, that you must still configure the underlying logging layer. So configuring
commons-logging
  does not give you automatically a fully configured [http://logging.apache.org/log4j/docs/
Log4J ] Logger. 
@@ -38, +38 @@

  This will use the default Factory class implementation and use the integrated simple Logger
to send
  logging output to stderr.
  
- [http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/SimpleLog.html
SimpleLog] can even be configured by a properties file called ''simplelog.properties'' on
your class path.
+ [http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/impl/SimpleLog.html
SimpleLog] can even be configured by a properties file called ''simplelog.properties'' on
your class path.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message