Log4Ant

   JWare/AntXtras Logging for Ant (Log4Ant) is a full bridge to the SLF4J library. SLF4J is a simple façade for various logging frameworks like Log4J, Jakarta Commons Logging, Logback, and the JRE′s own java.util.logging module. By using Log4Ant components you can easily capture, transform, and send Ant messages, AntXtras messages, and standard output and error messages to your real logging and monitoring system. This means you can capture detailed information about your build, test, and deploy processes for live monitoring.

Key Features
  1. 100% SLF4J, 100% Ant.
  2. Captures both direct-to-SLF4J messages and standard Ant messages!
  3. Exports any Ant runtime setting using Log4Ant’s MDC support.
  4. Automatically organizes Ant messages according to priority (problems, status, diagnostics).
  5. Easy configuration of SLF4J options from within Ant script itself.
  6. Usable as an Ant build listener too, so no need to touch existing Ant scripts!
  7. Pass through of Ant runtime exceptions linked with warning and error messages.
Main Objectives
  1. Get all Ant sourced messages into the real logging system.
  2. Ensure automatic message cataloging is useful to someone without access to the Ant script.
  3. Have no direct coupling to a particular logging framework, but work with most popular ones.
  4. Accomplish 1, 2, and 3 without forcing users to rewrite existing scripts!
  5. Provide a rich but simple set of feedback components to replace the standard <echo>.
  6. Include support for AntXtras’ locale-aware, parameterized messages framework.
  7. Maintain the general AntXtras design guidelines.

Your Next Steps

  1. Go to the Log4Ant Overview page for an introduction to Log4Ant and its main features, a list of the main Log4Ant components, and a “High-Speed Tutorial” to get started receiving messages through Log4Ant.

  2. Go to the Downloads page for links to the latest Log4Ant distributions, third-party software requirements, and installation instructions. Read the Support page if you’re unable to download or install Log4Ant (or if you’d like to contact us for some reason).

  3. Go to the Documents section for links to additional documentation like the Log4Ant How Tos, the complete Log4Ant User Guide(pdf), and the complete Log4Ant Javadoc API reference.

  4. Go to the Log4Ant Feature Request Tracker to submit your own enhancement and new feature requests.

Project Activities

News

Dec 2009

Log4Ant 2.0.0 released. This is the final release for 2.0.0 built against the final AntXtras 2.0.0 release. The new v2 Log4Ant User Guide and updated Javadocs are now available.


Navigation
Personal Tools