Skip to content

Commit

Permalink
cleanup: filter_grep.rb logging message word fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan authored Aug 12, 2019
1 parent 9e88103 commit d747eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fluent/plugin/filter_grep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ def configure(conf)
end

if @regexps.size > 1
log.info "Top level multiple <regexp> is intepreted as 'and' condition"
log.info "Top level multiple <regexp> is interpreted as 'and' condition"
end
@regexps.each do |e|
raise Fluent::ConfigError, "Duplicate key: #{e.key}" if regexp_and_conditions.key?(e.key)
regexp_and_conditions[e.key] = Expression.new(record_accessor_create(e.key), e.pattern)
end

if @excludes.size > 1
log.info "Top level multiple <exclude> is intepreted as 'or' condition"
log.info "Top level multiple <exclude> is interpreted as 'or' condition"
end
@excludes.each do |e|
raise Fluent::ConfigError, "Duplicate key: #{e.key}" if exclude_or_conditions.key?(e.key)
Expand Down

0 comments on commit d747eba

Please sign in to comment.