Permalink
Browse files

Fix indentation

  • Loading branch information...
1 parent 93329e2 commit 0a63050c7f32e3dcb6177567ceeebf633dedffe9 @timmow timmow committed Oct 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Monolog/Formatter/LogstashEventFormatter.php
@@ -66,10 +66,10 @@ public function format(array $record)
$message['@fields']['channel'] = $record['channel'];
$message['@fields']['level'] = $record['level'];
if (isset($record['extra']['server'])) {
- $message['@source_host'] = $record['extra']['server'];
+ $message['@source_host'] = $record['extra']['server'];
}
if (isset($record['extra']['url'])) {
- $message['@source_path'] = $record['extra']['url'];
+ $message['@source_path'] = $record['extra']['url'];
}
foreach ($record['extra'] as $key => $val) {
$message['@fields'][$this->extraPrefix . $key] = $val;

0 comments on commit 0a63050

Please sign in to comment.