zendframework/zf1 — pull request #103 by croensch (2013-05-17 09:23:37+00:00)
Title: Zend_Application add Log to Translate, Cachemanager

I'd like to configure my loggers for Translate and Cachemanger for example via ``Zend_Config_Ini``. Naturally the _log_ array will be passed to the resource, resulting in an exception that it's not an instance of ``Zend_Log``. So i added some checks in these resources to make them so.

This is a purely optional feature, please take consideration to add it.

Some documentation, not yet included:

__Zend_Application_Resource_Translate__
The following configuration keys are recognized:
_log_ : Configuration will be passed to the ``Zend_Log::factory()`` method, allowing you to specify combinations of log writers and filters.

__Zend_Application_Resource_Cachemanager__
Example #2 Logger configuration
```
resources.cachemanager.database.frontend.options.logger.stream.writerName = "Stream"
resources.cachemanager.database.frontend.options.logger.stream.writerParams.stream = APPLICATION_PATH "/../data/logs/application.log"
resources.cachemanager.database.frontend.options.logger.stream.writerParams.mode = "a"
resources.cachemanager.database.frontend.options.logger.stream.filterName = "Priority"
resources.cachemanager.database.frontend.options.logger.stream.filterParams.priority = 4
```

Initial source: https://github.com/croensch/zendcastle/