mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Make a way to enable debugg logs
This commit is contained in:
parent
edb0127858
commit
8eeabcd43d
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ if RUBY_VERSION < "1.9.2"
|
|||
raise LoadError
|
||||
end
|
||||
|
||||
if ENV["TEST_DEBUG"]
|
||||
Cabin::Channel.get.level = :debug
|
||||
Cabin::Channel.get.subscribe(STDOUT)
|
||||
end
|
||||
|
||||
module LogStash
|
||||
module RSpec
|
||||
def config(configstr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue