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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]