Skip to content

automate can not change log level #7698

Open
@ubisoft-gne

Description

Hi admin,

I find automate can not depress info log even the log level is panic or fatal:
My current automate version is :

Version: 2
  CLI Build: 20230103083334
  Server Build: 4.4.10

I want to change log level to fatal: follow the way from https://docs.chef.io/automate/log_management/

[global]
  [global.v1]
    fqdn = "<HIDDEN>"
    [global.v1.proxy]
      host = "proxy"
      port = 3128
      no_proxy = ["127.0.0.1/8", "127.0.0.1", "localhost", "::1/128", "::1", "localhost6", "0.0.0.0", "::0"]
    [global.v1.log]
      level = "fatal"

command: chef-automate config patch </path/to/your-file.toml>

here is my patch toml file content:

[global.v1.log]
  level = "panic"

But When I use journal command to check automate's log, there are still a lot of info logs.

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions