Zend_Application_Resource_Log to instantiate a
Zend_Log instance with an arbitrary number of log writers.
Configuration will be passed to the
allowing you to specify combinations of log writers and filters. The log instance may then
be retrieved from the bootstrap later in order to log events.
Example 41. Sample Log Resource Configuration
Below is a sample INI snippet showing how to configure the log resource.
resources.log.stream.writerName = "Stream" resources.log.stream.writerParams.stream = APPLICATION_PATH "/../data/logs/application.log" resources.log.stream.writerParams.mode = "a" resources.log.stream.filterName = "Priority" resources.log.stream.filterParams.priority = 4
For more information on available options, please review the Zend_Log::factory() documentation.