Skip to content

Improve logging by removing possibly sensitive data to end up in the log file of a Knowledge Engine Runtime. #457

@Sophietje

Description

@Sophietje

In GitLab by @barry.nouwt.tno.nl on Dec 17, 2023, 12:08

When the following error occurs, the log file of the Knowledge Engine Runtime shows data. We try to not log any data on INFO level to make sure sensitive data can be send through the Knowledge Engine. However, the following error occurs which prints the content of a post message which might contain sensitive data:

2023-12-17 11:46:25:624 +0000 [pool-11-thread-1] WARN SerialMatchingProcessor-NSSA KB - Error 'Could not send message 78972c4c-08b0-47ca-8644-a1cd2ebe85cc, the Knowledge Base http://www.daikin.com/kb_altherma_belgium1 is not known' occurred while sending: PostMessage [getToKnowledgeBase()=http://www.daikin.com/kb_altherma_belgium1, getToKnowledgeIn...

Make sure this data does not show up in INFO or above log level. Either remove the content or move it to DEBUG level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions