Skip to content

fix log formatting with salt logger  #622

Open
@Mryashbhardwaj

Description

@Mryashbhardwaj

Describe the bug
current logger does not support argumentative logging as used on https://github.com/odpf/optimus/blob/main/job/deployer.go#L51
we need to format this log using fmt.Sprintf

To Reproduce
Steps to reproduce the behaviour:

  1. trigger deployment that is about to get failed
  2. check the log msg, it does not capture the error and deployment details

Expected behaviour
the logs should be formatted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions