Skip to content

Instantly share code, notes, and snippets.

@thirdreplicator
Created March 23, 2017 04:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save thirdreplicator/62c1c7e25d8c22c3c79eab61943a8dbc to your computer and use it in GitHub Desktop.
Save thirdreplicator/62c1c7e25d8c22c3c79eab61943a8dbc to your computer and use it in GitHub Desktop.
An example Riak advanced.config file adding the delete_mode parameter set to "immediate". On Ubuntu, this file is located here: /etc/riak/advanced.config
%% Config file used to set advanced configuration options
[
{riak_kv, [
{delete_mode, immediate}
]},
{lager,
[
{extra_sinks,
[
{object_lager_event,
[{handlers,
[{lager_file_backend,
[{file, "/var/log/riak/object.log"},
{level, info},
{formatter_config, [date, " ", time," [",severity,"] ",message, "\n"]}
]
}]
},
{async_threshold, 500},
{async_threshold_window, 50}]
}
]
}
]
}].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment