|
@ -34,6 +34,16 @@ return [ |
|
|
'class' => 'yii\log\FileTarget', |
|
|
'class' => 'yii\log\FileTarget', |
|
|
'levels' => ['error', 'warning'], |
|
|
'levels' => ['error', 'warning'], |
|
|
], |
|
|
], |
|
|
|
|
|
[ |
|
|
|
|
|
'class' => 'yii\log\FileTarget', |
|
|
|
|
|
'levels' => ['info', 'error'], |
|
|
|
|
|
'categories' => ['imagetest'], |
|
|
|
|
|
'logFile' => '@app/runtime/logs/imagetest.log', |
|
|
|
|
|
'logVars' => [], |
|
|
|
|
|
'exportInterval' => 1, |
|
|
|
|
|
'prefix' => function ($message) { |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
], |
|
|
], |
|
|
], |
|
|
], |
|
|
'errorHandler' => [ |
|
|
'errorHandler' => [ |
|
@ -45,6 +55,7 @@ return [ |
|
|
'rules' => [ |
|
|
'rules' => [ |
|
|
], |
|
|
], |
|
|
], |
|
|
], |
|
|
|
|
|
'file' => ['class' => 'backend\logic\file\FileManager'], |
|
|
], |
|
|
], |
|
|
'params' => $params, |
|
|
'params' => $params, |
|
|
]; |
|
|
]; |