Re:Everything that uses configuration files should report wh...
by TeMPOraL on Sunday June 25, 2023 @08:47AM
(#36467662)
Logging keys only should be sufficient for this.
Re:Everything that uses configuration files should report wh...
by usrusr on Sunday June 25, 2023 @12:32PM
(#36469973)
I'd rather have some config reserialization capability with provenance (perhaps as an opt-in). A good config reserialization can make itself useful in so many situations, if it has the right features. Like pointing out key-value pairs that don't have any effect, or simply writing out some documentation.
Logging has its merits, like discoverability when you stare at it without suspecting configuration to be the culprit, but I believe that there can and should be more.
The problems with this approach when it's enabled is that log aggregators (e.g splunk) can end up including stuff like passwords which shouldn't be visible to the group able to view those logs, so some care is needed.