Refactor #19534
closed
Excessive amount of log messages around db field encryption
Added by Lukas Zapletal almost 8 years ago.
Updated over 6 years ago.
Description
Foreman logs tremendous amount of messages about db field encryption. Major issues: Every en/decryption is logged at info level:
Successfully decrypted field for XYZ
Every attempt to decrypt unencrypted field is reported via debug (annoying in dev mode):
String does not start with the prefix 'encrypted-' XYZ
We should not log success scenarios at all (maybe into TRACE level if we had one) and we need to decrease amount of logs for the other actions, like the annoying "String does not start" messasges.
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/4529 added
- Translation missing: en.field_release set to 248
Daniel, I am proposing this for 1.15.1 as this is constantly flooding our logs.
- Pull request https://github.com/theforeman/foreman/pull/4533 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Pull request deleted (
https://github.com/theforeman/foreman/pull/4533)
04d9f6e has the incorrect ticket number, it should have referred to #19558.
- Pull request https://github.com/theforeman/foreman/pull/4548 added
- Pull request https://github.com/theforeman/foreman/pull/4533 added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/4533)
04d9f6e has the incorrect ticket number, it should have referred to #19558
Also available in: Atom
PDF