Development

Changeset 10974

You must first sign up to be able to contribute.

Changeset 10974

Show
Ignore:
Timestamp:
08/20/08 07:43:43 (11 months ago)
Author:
fabien
Message:

[1.2] tweaked some log messages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/response/sfWebResponse.class.php

    r10829 r10974  
    317317      if ($value != '' && $this->options['logging']) 
    318318      { 
    319         $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Send header "%s": "%s"', $name, $value)))); 
     319        $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Send header "%s: %s"', $name, $value)))); 
    320320      } 
    321321    } 
  • branches/1.2/lib/routing/sfPatternRouting.class.php

    r10971 r10974  
    466466    if ($this->options['logging']) 
    467467    { 
    468       $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Connect "/%s"%s', $route, $suffix ? ' ("'.$suffix.'" suffix)' : '')))); 
     468      $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Connect route "%s" (/%s%s)', $name, $route, $suffix ? ' ("'.$suffix.'" suffix)' : '')))); 
    469469    } 
    470470 
     
    617617      if ($this->options['logging']) 
    618618      { 
    619         $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Match route [%s] for "%s" with parameters %s', $routeInfo['name'], $routeInfo['route'], str_replace("\n", '', var_export($routeInfo['parameters'], true)))))); 
     619        $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Match route "%s" (%s) for %s with parameters %s', $routeInfo['name'], $routeInfo['route'], $url, str_replace("\n", '', var_export($routeInfo['parameters'], true)))))); 
    620620      } 
    621621    } 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.