You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "James A. N. Stauffer" <st...@gmail.com> on 2008/06/03 22:16:35 UTC

Re: Configuration through Database

Store the XML in a clob and use
org.apache.log4j.xml.DOMConfigurator.configure(org.w3c.dom.Element
element) before making any other log4j calls.

On Tue, May 13, 2008 at 11:22 PM, Mitesh Mehta <me...@gmail.com> wrote:
> I would like to configure log4j using a Database (i.e. my properties or XML
> file would reside in a DB).  Has that been done by anyone OR does anyone
> have suggestions?  The requirement comes from security rules make direct
> file access for configuration changes difficult, but allow us to build a
> simple UI to update the configuration directly in the database.
>
> Thanks.
>



-- 
James A. N. Stauffer http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

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