Changeset 10974
- Timestamp:
- 08/20/08 07:43:43 (11 months ago)
- Files:
-
- branches/1.2/lib/response/sfWebResponse.class.php (modified) (1 diff)
- branches/1.2/lib/routing/sfPatternRouting.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/response/sfWebResponse.class.php
r10829 r10974 317 317 if ($value != '' && $this->options['logging']) 318 318 { 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)))); 320 320 } 321 321 } branches/1.2/lib/routing/sfPatternRouting.class.php
r10971 r10974 466 466 if ($this->options['logging']) 467 467 { 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)' : '')))); 469 469 } 470 470 … … 617 617 if ($this->options['logging']) 618 618 { 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)))))); 620 620 } 621 621 }

