Skip to content

Commit

Permalink
Fix for rotate_age where Fluentd passes as Symbol while Ruby Logger e…
Browse files Browse the repository at this point in the history
…xpects String
  • Loading branch information
mrudrego authored Sep 26, 2023
1 parent 78c9146 commit d596179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/system_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SystemConfig
config_param :time_format, :string, default: '%Y-%m-%d %H:%M:%S %z'
config_param :rotate_age, default: nil do |v|
if Fluent::Log::LOG_ROTATE_AGE.include?(v)
v.to_sym
v.to_s
else
begin
Integer(v)
Expand Down

0 comments on commit d596179

Please sign in to comment.