lib/fluent/plugin/out_logentries.rb in fluent-plugin-logentries-0.2.9 vs lib/fluent/plugin/out_logentries.rb in fluent-plugin-logentries-0.2.10
- old
+ new
@@ -84,10 +84,10 @@
# app-name:
# app: TOKEN
# access: TOKEN (optional)
# error: TOKEN (optional)
@tokens.each do |key, value|
- if tag.index(key) != nil || app_name == key
+ if app_name == key || tag.index(key) != nil
default = value['app']
case tag
when @tag_access_log
return value['access'] || default