logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Logging to JNDI defined datasource
Date Mon, 25 Oct 2004 18:45:08 GMT

Try log4j 1.3 and DBAppender. It should work like a charm.

At 08:31 PM 10/25/2004, you wrote:
>Our app currently moves from a development server, to a test/staging server,
>a production server. We would like to log each of these app instances to the
>corresponding Oracle database.   For a series of political and technical
>reasons, keeping separate log4j.properties files on each server for
>configuration is not ideal.  We would like to use the JNDI datasources already
>defined on each of the servers/clusters, so that moving the ear to the new
>server automatically sets the database connection information to match the
>of the application.  I have searched long and far on the internet, and can't
>find anything that would hint as to how we can point the log4j JDBCAppender at
>the datasources our Spring-based app is already using.  Has anyone done
>like this?
>Any pointers will be greatly appreciated...
>Clark Christensen

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message