lib/logster/configuration.rb in logster-2.18.1 vs lib/logster/configuration.rb in logster-2.19.0
- old
+ new
@@ -44,12 +44,10 @@
@maximum_message_length = 2000
@use_full_hostname = nil
@allow_grouping = false
- if defined?(::Rails) && defined?(::Rails.env) && ::Rails.env.production?
- @allow_grouping = true
- end
+ @allow_grouping = true if defined?(::Rails.env) && ::Rails.env.production?
end
def subdirectory
@subdirectory || "/logs"
end