Development

Changeset 2833 for trunk/doc

You must first sign up to be able to contribute.

Changeset 2833 for trunk/doc

Show
Ignore:
Timestamp:
11/27/06 14:49:11 (2 years ago)
Author:
fabien
Message:

doc: changed active to enabled for logging

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/book/content/configuration.txt

    r2234 r2833  
    277277    return array( 
    278278      'default' => array( 
    279         'active' => true, 
    280         'level'  => 'debug' 
     279        'enabled' => true, 
     280        'level'  => 'debug' 
    281281      ) 
    282282    ); 
     
    285285 
    286286    default: 
    287       active: on 
    288       level:  debug 
     287      enabled: on 
     288      level:  debug 
    289289       
    290290Configuration handlers 
  • trunk/doc/book/content/debug.txt

    r858 r2833  
    106106     
    107107    all: 
    108     #  active: on 
    109     #  level:  debug 
    110  
    111 This means that the symfony logging mechanism is active by default in all environments (but can be deactivated). In all environments except the production one, all the messages are logged (up to the least important level - the `debug` level). In production, only the most important messages are logged. You can change the `level` in this file for each environment to limit the type of logged messages. 
    112  
    113 The value of these parameters is accessible during execution through `sfConfig::get('sf_logging_active')` and `sfConfig::get('sf_logging_level')`. 
     108    #  enabled: on 
     109    #  level:  debug 
     110 
     111This means that the symfony logging mechanism is enabled by default in all environments (but can be deactivated). In all environments except the production one, all the messages are logged (up to the least important level - the `debug` level). In production, only the most important messages are logged. You can change the `level` in this file for each environment to limit the type of logged messages. 
     112 
     113The value of these parameters is accessible during execution through `sfConfig::get('sf_logging_enabled')` and `sfConfig::get('sf_logging_level')`. 
    114114 
    115115Web debug