Skip to content

Commit

Permalink
Merge pull request #1046 from fluent/fix-fluent-debug
Browse files Browse the repository at this point in the history
Fix regression of fluent-debug command. fix #1035
  • Loading branch information
repeatedly authored Jun 10, 2016
2 parents dc4e6d7 + 35cb7b1 commit 377b99c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/fluent/command/debug.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@

require 'fluent/log'
require 'fluent/engine'
require 'fluent/config'
require 'fluent/system_config'

include Fluent::SystemConfig::Mixin

$log = Fluent::Log.new(STDERR, Fluent::Log::LEVEL_TRACE)
Fluent::Engine.init(system_config)
conf = Fluent::Config.parse('', 'fluent-debug.conf', '', true)
system_conf = Fluent::SystemConfig.create(conf)
Fluent::Engine.init(system_conf)

DRb::DRbObject.class_eval do
undef_method :methods
Expand Down

0 comments on commit 377b99c

Please sign in to comment.