I am trying to deploy a mu application on heroku, but the runtime directory is empty on the server. Here is my log config:
'log' => [ //'traceLevel' => (YII_ENV_DEF) ? 3 : 0, 'targets' => [ [ 'class' => 'yii\log\FileTarget', 'levels' => ['error', 'warning'], ], [ 'class' => 'yii\log\SyslogTarget', 'levels' => ['error', 'warning'], ], [ 'class' => 'yii\log\FileTarget', 'levels' => ['error', 'warning', 'info'], 'logFile' => '@app/runtime/all.log', 'maxFileSize' => 1024 * 2, 'maxLogFiles' => 20, ], ], ],
The access right for the runtime directory is 777.
source share