Re: Line by line configuration

2008-04-23 Thread Dale King
You don't need to make a file. You can just read the lines from the database and put them into a helpers::Properties object which is just a map and pass that to PropertyConfigurator::doConfigure. Or you might want to create a DatabaseConfigurator class based off of PropertyConfigurator. On Wed, A

Line by line configuration

2008-04-23 Thread Thomas Hahn
Hello, I usually end up with the PropertyConfigurator. In the config file I have the usual lines like: log4j.appender.A1=org.apache.log4j.ConsoleAppender ... lots other lines ... and finally: ... log4j.logger.someproggy.part1=INFO What I would like to do is to read the lines from a database and