basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.92k stars 534 forks source link

Update default erlang.log max log size #1033

Closed martinsumner closed 3 years ago

martinsumner commented 3 years ago

The default maximum log size for erlang logs (used by leveled and kv_index_tictcatree) is inadequate with info set as the log level - logs may be missed by log indexers due to the rapid wrapping round of the log files.

This PR will use a higher default if the environment variable has not already been set. This higher variable is set via a pre-start script.

Tested for make rel as well as make package.