Answer the question
In order to leave comments, you need to log in
How to view logs from another domain in Yii2?
Logs are written to the database
'log' => [
'targets' => [
'db' => [
'class' => 'yii\log\DbTarget',
'levels' => ['error', 'warning'],
],
],
],
'modules' => [
'debug' => [
'class' => 'yii\debug\Module'
],
],
Answer the question
In order to leave comments, you need to log in
Try playing with the log directory:
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'dataPath' => '@runtime/debug', // --- вот здесь
],
],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question