lib/timber/config.rb in timber-2.1.1 vs lib/timber/config.rb in timber-2.1.2

- old
+ new

@@ -34,11 +34,11 @@ attr_writer :http_body_limit # @private def initialize - @http_body_limit = 2000 + @http_body_limit = 2048 end # Convenience method for logging debug statements to the debug logger # set in this class. # @private @@ -128,19 +128,18 @@ # Accessor method for {#http_header_filters=} def http_header_filters @http_header_filters ||= [] end - # Truncates captured HTTP bodies to this specified limit. The default is `2000`. - # If you want to capture more data, you can raise this to a maximum of `5000`, - # or lower this to be more efficient with data. `2000` characters should give you a good - # idea of the body content. If you need to raise to `5000` you're only constraint is - # network throughput. + # Truncates captured HTTP bodies to this specified limit. The default is `2048`. + # If you want to capture more data, you can raise this to a maximum of `8192`, + # or lower this to be more efficient with data. `2048` characters should give you a good + # idea of the body content. # # @example Rails - # config.timber.http_body_limit = 500 + # config.timber.http_body_limit = 2048 # @example Everything else - # Timber::Config.instance.http_body_limit = 500 + # Timber::Config.instance.http_body_limit = 2048 def http_body_limit=(value) @http_body_limit = value end # Accessor method for {#http_body_limit=} \ No newline at end of file