Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

...

The discovery process has many problems. The current implementation works well in some containers, less well in other containers and not at all in some environments. It has become clear that no one discovery mechanism can work well in the range of environments in which commons-logging may find itself deployed. This points towards a need for the discovery mechanism to be pluggable.

http://www.apache.org/~rdonkin/layers.png

The process of discovery should be encapsulated entirely within the discovery layer. Therefore, there seems to be nothing to gain by adding a separate interface for discovery. So, the discovery component should have a facade which extends Logger.

...

No Format
public static final Log Logger.getLog(Object parameter) throws LogConfigurationException
public Log getLog(Object parameter) throws LogConfigurationException

http://www.apache.org/~rdonkin/logging-classes.png

...

Wiki MarkupUp to \[:Logging\]