Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Configuring Jetty Logging using log4j.properties

        Step 1:    Put your log4j.properties on $jetty.home/resources

        Step 2:    The logging jars should be made available on jetty's classpath.  Refer below:
 

Via log4j:

        On your $jetty.home/lib/ext, add the ff jars:

  • slf4j-api-1.3.1.jar
  • log4j-1.2.14.jar
  • slf4j-log4j12-1.3.1.jar

via commons-logging:

        On your $jetty.home/lib/ext, add the ff jars:

  • slf4j-api-1.3.1.jar
  • commons-logging-1.1.jar
  • slf4j-jcl-1.3.1.jar
  • log4j-1.2.14.jar
  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery