We are using URI in an environment variable in order to configure our LogstashLogger:
# Read the URI from an environment variable
logger = LogStashLogger.new(uri: ENV['LOGSTASH_URI'])
The default value for buffer_max_items was not enough for our production needs and currently cannot be controlled using the :uri option.
This PR adds support specifically for buffer_max_items but opens the door to type-specific options to be parsed / validated by individual device implementations.
We are using URI in an environment variable in order to configure our
LogstashLogger
:The default value for
buffer_max_items
was not enough for our production needs and currently cannot be controlled using the:uri
option.This PR adds support specifically for
buffer_max_items
but opens the door to type-specific options to be parsed / validated by individual device implementations.