Skip to content

Commit 8f0d3f5

Browse files
authored
Relax log level (#6)
When used in an offline environment, the message will be shown at error level every 24 hours. I think some users may feel this annoying. So, this patch will change `error` to `info` level.
1 parent b69cea5 commit 8f0d3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_fluent_package_update_notifier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def check_fluent_pacakge_update_information
7272
checker = Fluent::Plugin::FluentPackage::UpdateChecker.new(options)
7373
checker.run
7474
rescue => e
75-
log.error { "Failed to check updates: #{e.message}" }
75+
log.info { "Failed to check updates: #{e.message}" }
7676
end
7777
end
7878
end

0 commit comments

Comments
 (0)