News for hackers. Stuff that matters.
Re:Everything that uses configuration files should report wh... by cesaref on Sunday June 25, 2023 @08:28AM (#36467506)
Agreed, logging in config retrieval code should log all this stuff, requests, where they are filled from, that sort of thing.

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.

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.