oohlahlogger Send Yii Logs to oohlalog.com, and get alerts for errors, etc from them

  1. Usage
  2. Resources

This is a method to send logs to oohlalog.com. You can configure their service to send you alerts based on level,etc.

Usage

To configure please setup main.php config file:

'log'=>array(
        'class'=>'CLogRouter',
        'routes'=>array(
                array(
                        //  change the class location to suit your setup
                        'class'=>'common.extensions.OohLaLogger',
                        // for levels see: http://www.yiiframework.com/doc/guide/1.1/en/topics.logging
                        'levels'=>'info,error,warning',
                        // if you have YII_DEBUG set to true and this set to true it will skip logging
                        'skip_if_yiidebug_on' => true,
                        // Put your api key here
                        'oohLaLogApiKey' => 'YOUR_API_KEY_HERE'
                ),
        )
),

Resources

Get the code here: Github Repo

0 0
1 follower
0 downloads
Yii Version: Unknown
License: GPL-2.0
Category: Logging
Tags:
Developed by: Zeam
Created on: Oct 23, 2013
Last updated: 11 years ago