This module is a log writer for Yii that will send all log messages to a Loggly input.
- php >= 5.2
- php5-curl extension
- Yii 1.1.13 (should work on prior versions but not tested)
Decompress put Loggly folder on protected/extensions/ In protected/config/main.php in components section add:
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class'=>'ext.Loggly.LogglyRoute',
'inputKey' => '<put here your input key>',
'finishRequest' => true,
'levels'=>'error, warning',
),
),
),
- (GitHub repo)[https://github.com/aotd1/yii-loggly]