Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Commits on Sep 14, 2012
@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 Merge pull request #203 from wiibaa/debug_specs
Using existing LOGSTASH_DEBUG env variable to debug + update README
54b3933
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

No commit comments for this range

Something went wrong with that request. Please try again.