Changeset 17903

Show
Ignore:
Timestamp:
10/03/08 17:37:52 (2 months ago)
Author:
bergie
Message:

Some lower debug levels

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom.php

    r17742 r17903  
    117117require('midcom/debug.php'); 
    118118 
    119 debug_add("Start of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_INFO); 
     119debug_add("Start of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_DEBUG); 
    120120 
    121121/** 
  • trunk/midcom/midcom.core/midcom/application.php

    r17900 r17903  
    598598        debug_push_class(__CLASS__, __FUNCTION__); 
    599599 
    600         debug_add("Dynamic load of URL {$url}", MIDCOM_LOG_INFO); 
     600        debug_add("Dynamic load of URL {$url}", MIDCOM_LOG_DEBUG); 
    601601 
    602602        if (substr($url, -5) == '.html') 
     
    673673        { 
    674674            $this->style->enter_context($context); 
    675             debug_add("Entering Context $context (old Context: $oldcontext)", MIDCOM_LOG_INFO); 
     675            debug_add("Entering Context $context (old Context: $oldcontext)", MIDCOM_LOG_DEBUG); 
    676676        } 
    677677 
     
    682682        { 
    683683            $this->style->leave_context(); 
    684             debug_add("Leaving Context $context (new Context: $oldcontext)", MIDCOM_LOG_INFO); 
     684            debug_add("Leaving Context $context (new Context: $oldcontext)", MIDCOM_LOG_DEBUG); 
    685685        } 
    686686 
     
    732732        // This is here to avoid trouble with end-of-processing segfaults. Will block AFAIK 
    733733        flush(); 
    734         debug_add("End of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_INFO); 
     734        debug_add("End of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_DEBUG); 
    735735    } 
    736736 
     
    781781                        $substyle = $value; 
    782782                        debug_push_class(__CLASS__, __FUNCTION__); 
    783                         debug_add("Substyle '$substyle' selected", MIDCOM_LOG_INFO); 
     783                        debug_add("Substyle '$substyle' selected", MIDCOM_LOG_DEBUG); 
    784784                        debug_pop(); 
    785785                        break; 
     
    19321932            return false; 
    19331933        } else { 
    1934             debug_add("Setting active context to $id.", MIDCOM_LOG_INFO); 
     1934            debug_add("Setting active context to $id.", MIDCOM_LOG_DEBUG); 
    19351935            $this->_currentcontext = $id; 
    19361936            debug_pop(); 
     
    23242324            //debug_add('headers sent, exit()ing so nothing has a chance the mess things up anymore'); 
    23252325            debug_pop(); 
    2326             debug_add("End of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_INFO); 
     2326            debug_add("End of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_DEBUG); 
    23272327            exit(); 
    23282328        } 
     
    24102410        //debug_add('file sent, exit()ing so nothing has a chance the mess things up anymore'); 
    24112411        debug_pop(); 
    2412         debug_add("End of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_INFO); 
     2412        debug_add("End of MidCOM run: {$_SERVER['REQUEST_URI']}", MIDCOM_LOG_DEBUG); 
    24132413        exit(); 
    24142414    }