directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Directory Wiki] Update of "LoggingPlan" by nickfaiz
Date Wed, 27 Jul 2005 20:35:54 GMT
Dear Wiki user,

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

The following page has been changed by nickfaiz:
http://wiki.apache.org/directory/LoggingPlan

New page:
Logging in Directory Server is handled by SLF4J - http://slf4j.org .

Find below a plan for developing logging in the server.

== Logging Location ==

Default behaviour should see logging should be saved to a /logs directory as apacheds.log
.

The location of this directory should be configurable but it should be tied to a server_home
variable. The server_home directory can be the typical application directory for storing configuration
files, etc.. This might be the same thing as the server working directory.

== Choice of Logging Framework ==

SLF4J is ideal because it should allow any logging framework to be swapped in - this is achieved
by ensuring that the correct jar is on the classpath (no dynamic classloading takes, it keeps
things simple). Thus, we do not have to do much work here - we simply have to tell people
how to locate the default slf4j implementation - nlog4j.jar - and replace it with their own
jar. 

== Logging as an embedded server vs Logging as a standalone server ==

== Component specific logging ==

Mime
View raw message