Development

Changeset 8938

You must first sign up to be able to contribute.

Changeset 8938

Show
Ignore:
Timestamp:
05/14/08 03:52:35 (5 months ago)
Author:
Jonathan.Wage
Message:

Disabling logging until I can figure out proper way to do it.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrinePlugin/trunk/lib/sfDoctrineQueryLogger.class.php

    r8774 r8938  
    116116    { 
    117117      sfContext::getInstance()->getLogger()->log($message); 
    118     } else { 
    119       $config = sfProjectConfiguration::getActive(); 
    120       sfContext::createInstance($config); 
    121       $logger = sfContext::getInstance()->getLogger(); 
    122       $config->getEventDispatcher()->connect('command.log', array($logger, 'listenToLogEvent')); 
    123118    } 
    124119 
    125     //sfProjectConfiguration::getActive()->getEventDispatcher()->notify(new sfEvent($this, 'application.log', array($message))); 
    126     //sfContext::getInstance()->getLogger()->log($message); 
    127120    $sqlTimer = sfTimerManager::getTimer('Database (Doctrine)'); 
    128121  }