Explorar o código

ZF-10428: Default ErrorController should log request parameters

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23536 44c647ce-9c0f-0410-b52a-842ac1e357ba
intiilapa %!s(int64=15) %!d(string=hai) anos
pai
achega
52aded73fc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      library/Zend/Tool/Project/Context/Zf/ControllerFile.php

+ 1 - 0
library/Zend/Tool/Project/Context/Zf/ControllerFile.php

@@ -159,6 +159,7 @@ switch (\$errors->type) {
 // Log exception, if logger available
 if (\$log = \$this->getLog()) {
     \$log->log(\$this->view->message, \$priority, \$errors->exception);
+    \$log->log('Request Parameters', \$priority, \$request->getParams());
 }
 
 // conditionally display exceptions