title: Log4Php properties setting at runtime
body: <p>I have a PHP application containing multiple modules and various settings within each module. I'd like to enable logging using log4php, but each individual module has different settings (ie. Log level, log file, etc). Some of these settings need to be changed on the fly by end users (log level), and I'd like to store these properties in the database.</p>
  
  <p>Right now I can set loglevel dynamically. I can not determine how to set other properties dynamically though. Documentation on the configuration of log4php is almost exclusively done via properties/xml files - though it says all settings can be changed programmatically. </p>
  
  <p>Has any done something like this? If so, how do I do so? I've looked through the documentation at <a href="http://incubator.apache.org/log4php/index.html" rel="nofollow noreferrer">http://incubator.apache.org/log4php/index.html</a>, but I need more assistance. </p>
  
  <p>To clarify - I do NOT want to use configuration files, as the end users will not have direct access to these. I will provide a front end to change certain logging settings, and all settings will be stored in the database.</p>