diff --git a/lib/fluent/system_config.rb b/lib/fluent/system_config.rb index 9522cf3de0..7801b3f342 100644 --- a/lib/fluent/system_config.rb +++ b/lib/fluent/system_config.rb @@ -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_s + v.to_s else begin Integer(v)