mirror of
https://github.com/elastic/logstash.git
synced 2025-04-20 04:37:18 -04:00
This is made available by a --log-in-json flag. Default is false. When false, the old behavior [1] is used. When true, JSON logs are emitted. [1] The old behavior is realy two things. First, using Object#inspect to serialize. Second, to color the output if the IO is a tty. For #1569 This is a manual backport of PR #4820 into the 2.x branch. Fixes #5277 |
||
---|---|---|
.. | ||
bootstrap | ||
plugin_manager | ||
pluginmanager | ||
util | ||
coverage_helper.rb | ||
license_spec.rb | ||
README.md | ||
spec_helper.rb |
How to run these tests
Run one:
rspec spec/the/test.rb
Run them all:
rspec spec/**/*.rb
Debug one test:
LOGSTASH_DEBUG=y rspec spec/the/test.rb