Skip to content

Conversation

@martinsumner
Copy link
Contributor

@martinsumner martinsumner commented Nov 20, 2025

A more flexible configuration for logger via riak.conf.

Allows for the configuration of:

  • default_filters - logs to be filtered out of the default (console) log file.
  • additional_handlers - additional log handlers for specific logs

Depends on a cuttlefish PR - OpenRiak/cuttlefish#5. Without this PR the two need configuration items would need to use a delimited string with a dedicated validator.

Depends on a riak_logger PR - OpenRiak/riak_logger#3. This does the work to translate the configuration into a valid kernel logger handler list.

As the new configuration has a unit test, a GHA CI run is added as part of the change.

To switch logs to [background, metric] changes in:

OpenRiak/riak_core#32
OpenRiak/riak_kv#79

Adds a schema for logger using the updated riak_logger.

Unit tests schema - and as we have unit tests, adds a github action workflow.
Don't rely on bespoke formula/validator
Changes to logger now merged for these deps
@martinsumner martinsumner merged commit d69aff9 into openriak-3.4 Dec 5, 2025
1 check passed
@martinsumner martinsumner deleted the nhse-o34-or.i4-loggercfg branch December 5, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants