rolling-shutter icon indicating copy to clipboard operation
rolling-shutter copied to clipboard

Redact sensitive values on config logging

Open ezdac opened this issue 1 year ago • 0 comments

This introduces another shconfig tag sensitive. When using the LogConfig function, all values tagged with sensitive will be redacted upon logging and a (sensitive) value will be shown instead. The tree-traversal based dict-parsing function might not be the most efficient, but logging of the config values is expected to be done infrequently / once only.

ezdac avatar Sep 18 '23 15:09 ezdac