Skip to content

Commit

Permalink
[HttpKernel] sanitized log context in the log data collector
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 19, 2011
1 parent 43b5873 commit 8fe0399
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Handler/DebugHandler.php
Expand Up @@ -30,11 +30,11 @@ public function getLogs()
$records = array();
foreach ($this->records as $record) {
$records[] = array(
'timestamp' => $record['datetime']->getTimestamp(),
'message' => $record['message'],
'priority' => $record['level'],
'timestamp' => $record['datetime']->getTimestamp(),
'message' => $record['message'],
'priority' => $record['level'],
'priorityName' => $record['level_name'],
'context' => $record['context'],
'context' => $record['context'],
);
}

Expand Down

0 comments on commit 8fe0399

Please sign in to comment.