Skip to content

Avoid dumping environment variables in JobNotificationObserver #888

@Sytten

Description

@Sytten

While looking at our logs, I realized that we have a lot of:
JobNotificationObserver does not handle X where X is JobQueued, JobStarted or JobFinished.
I am not sure where those come from?
Nonetheless, The problem is that this logger dumps all environment variables of the job, which might contain some sensitive information (like DB passwords since chronos doesnt integrate well with vault or other similar products).
Is there a way to avoid the logger from this class from dumping them?

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