Changeset 2653

Show
Ignore:
Timestamp:
05/07/08 09:38:55 (4 months ago)
Author:
OscarB
Message:

Fix for #460 changes logging threshold. debugging level is now 4. Order 1, error: 2, alert: 3, info; 4, debug

Location:
trunk/system
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/config/log.php

    r2156 r2653  
    1313/** 
    1414 * Cascading message threshold. 
    15  *  
     15 * 
    1616 * Log Thresholds: 
    1717 *  0 - Disables logging completely 
    1818 *  1 - Error Messages (including PHP errors) 
    19  *  2 - Debug Messages 
    20  *  3 - Informational Messages 
     19 *  2 - Application Alert Messages 
     20 *  3 - Application Informational Messages 
     21 *  4 - Debug Messages 
    2122 */ 
    2223$config['threshold'] = 1; 
  • trunk/system/core/Log.php

    r2593 r2653  
    22/** 
    33 * Message file logging class. 
    4  *  
     4 * 
    55 * $Id$ 
    66 * 
     
    1414    private static $log_directory; 
    1515 
    16     private static $types = array(1 => 'error', 2 => 'debug', 3 => 'info'); 
     16    private static $types = array(1 => 'error', 2 => 'alert', 3 => 'info', 4 => 'debug'); 
    1717    private static $messages = array(); 
    1818