Skip to content

Commit

Permalink
Merge pull request #446 from fluent/suppress-repeated-stacktrace-by-d…
Browse files Browse the repository at this point in the history
…efault

'--suppress-repeated-stacktrace' is true by default
  • Loading branch information
repeatedly committed Oct 2, 2014
2 parents 5f850c6 + 4b8bf39 commit ae86296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/fluent/command/fluentd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
opts[:suppress_interval] = s.to_i
}

op.on('--suppress-repeated-stacktrace', "suppress repeated stacktrace", TrueClass) {|b|
op.on('--suppress-repeated-stacktrace [VALUE]', "suppress repeated stacktrace", TrueClass) {|b|
b = true if b.nil?
opts[:suppress_repeated_stacktrace] = b
}

Expand Down
2 changes: 1 addition & 1 deletion lib/fluent/supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def self.default_options
:chuser => nil,
:chgroup => nil,
:suppress_interval => 0,
:suppress_repeated_stacktrace => false,
:suppress_repeated_stacktrace => true,
:without_source => false,
:use_v1_config => true,
}
Expand Down

0 comments on commit ae86296

Please sign in to comment.