Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automate can not change log level #7698

Open
ubisoft-gne opened this issue Feb 2, 2023 · 0 comments
Open

automate can not change log level #7698

ubisoft-gne opened this issue Feb 2, 2023 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@ubisoft-gne
Copy link

ubisoft-gne commented Feb 2, 2023

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.

@ubisoft-gne ubisoft-gne added the bug 🐛 Something isn't working label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant