*/rsh tech|
your source for programming know-how
Generated by:
Craftsman

rsh-commons > rsh-logging

The rsh-logging module is intended to make logging utterly simple, no matter what toolkit you use. Using the Apache Commons Logging API, rsh-logging makes your code logging toolkit agnostic. But rsh-logging goes one step further to make configuration of basic things like logging levels toolkit agnostic as well. If you want your code to work with either "foobar.level=finer" or "foobar.level=debug", rsh-logging is for you.

Rsh-logging currently supports both the standard JDK logger and the Log4J packages through the Apache Commons Logging API. It returns standard Apache Commons Log objects, and it supports translating both the java.util.logging package and the Log4J package to a standard logging level. Configuration is greatly simplified for these toolkits, allowing you to just specify a level and instantly see the correct output. Users of the JDK Logger packages are now free from having to set both the Console level and the application level in order to see any output below INFO--rsh-logging supports auto-leveling by default to make sure that the Console outputs whatever you are looking for in your code.

Below are some links to information on using and interacting with rsh-logging:

Overview

This page contains an overview of the rsh-logging package, how it is put together, how it works and its design intentions.

Usage

This page contains some common examples of how to use rsh-logging along with sample code.

Configuration

This page contains information on configuring rsh-logging and any configuration files it may look for by default.