This allows your Yii application to send its log messages to PaperTrail servers
'components' => [
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
'class' => 'fernandezekiel\papertrail\PaperTrailTarget',
'levels' => ['error', 'warning'],
'url' => 'logs.papertrailapp.com',
'port' => 99999
],
],
],
...