Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Using existing LOGSTASH_DEBUG env variable to debug + update README #203

Merged
merged 1 commit into from

2 participants

@wiibaa

Setting DEBUG env variable doesn't change anything for me in current tests
Furthermode LOGSTASH_DEBUG variable is already defined in Logstash::Logger, better to reuse it and let interested people know

@wiibaa wiibaa Using already existing LOGSTASH_DEBUG env variable to debug + update …
…README

Setting DEBUG env variable doesn't change anything for me
Furthermode LOGSTASH_DEBUG variable is already defined in Logstash::Logger, better to reuse it and let interested people know
87476ad
@jordansissel jordansissel merged commit 54b3933 into elastic:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 14, 2012
  1. @wiibaa

    Using already existing LOGSTASH_DEBUG env variable to debug + update …

    wiibaa authored
    …README
    
    Setting DEBUG env variable doesn't change anything for me
    Furthermode LOGSTASH_DEBUG variable is already defined in Logstash::Logger, better to reuse it and let interested people know
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 5 deletions.
  1. +4 −0 spec/README.md
  2. +1 −5 spec/test_utils.rb
View
4 spec/README.md
@@ -8,3 +8,7 @@ Run them all:
`rspec spec/**/*.rb`
+Debug one test:
+
+ `LOGSTASH_DEBUG=y rspec spec/the/test.rb`
+
View
6 spec/test_utils.rb
@@ -13,11 +13,7 @@
module LogStash
module RSpec
- if ENV["DEBUG"]
- require "cabin"
- Cabin::Channel.get.level = :debug
- end
-
+
def config(configstr)
@config_str = configstr
end # def config
Something went wrong with that request. Please try again.