extended-email-log-route Sends selected detailed log messages to email addresses.

  1. Requirements
  2. Usage
  3. Resources

This extension extends CEmailLogRoute class, so it inherits most of its functionality, but, this extension adds more useful data to your log messages.

Requirements

  • Yii 1.1.13 (should work on prior versions but not tested)

Usage

  • Decompress on protected/extensions/
  • In protected/config/main.php in components section add:
'log' => array(
            'class' => 'CLogRouter',
            'routes' => array(
                array(
                    'class' => 'ext.EmailLogRoute.EmailLogRoute',
                    'emails' => array('user@your-domain.com'),
                    'subject' => 'Error in your server',
                    'sentFrom' => 'info@your-domain.com',
                ),
            ),
        ),

Resources

2 0
2 followers
287 downloads
Yii Version: Unknown
License: BSD-2-Clause
Category: Logging
Developed by: robregonm
Created on: Jun 30, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions