Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Category:
Logging
Target version:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #19558: Improve orchestration queue loggingClosedLukas Zapletal05/16/2017Actions
Actions

Also available in: Atom PDF