module.config.phpやglobal.phpでの指定
※ファイルに書き出す場合
config/autload/global.php
return array(
'di' => array(
'instance' => array(
'preferences' => array(
'Zend\\Log\\LoggerInterface' => 'Zend\\Log\\Logger',
),
'Zend\\Log\\Logger' => array(
'parameters' => array(
'options' => array(
'writers' => array(
array(
'name' => 'stream',
'options' => array(
'stream' => '/path/to/logfile'
),
),
),
),
),
),
),
),
);