mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-17 18:36:32 +02:00
Add linebreak to end of logstash records.
This commit is contained in:
@@ -93,6 +93,6 @@ class LogstashFormatter extends NormalizerFormatter
|
||||
$message['@fields'][$this->contextPrefix . $key] = $val;
|
||||
}
|
||||
|
||||
return json_encode($message);
|
||||
return json_encode($message) . PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user