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

Support logging config for each component #8306

Closed
6 tasks
arnaudsjs opened this issue Nov 4, 2024 · 0 comments
Closed
6 tasks

Support logging config for each component #8306

arnaudsjs opened this issue Nov 4, 2024 · 0 comments
Assignees

Comments

@arnaudsjs
Copy link
Contributor

arnaudsjs commented Nov 4, 2024

This ticket should make sure that a global config option exists and is supported for each component.

Example configuration file from design document:

[logging]
server=/etc/inmanta/logging/server.yml
scheduler=/etc/inmanta/logging/scheduler.yml
compiler_service=/etc/inmanta/logging/compiler_service.yml.tmpl
agent=/etc/inmanta/logging/agent.yml.tmpl
cli=/etc/inmanta/logging/cli.yml

Tasks:

  • Add config options.
  • Ensure correct handling of precedence rules between config provided on the cli (--logging-config) and global config options. If none is provided fall back to previous implementation.
  • Ensure correct handling of template files.
  • Remove log shipping from executor to agent/scheduler.
  • Ignore old logging config options when a logging config file is provided on the CLI or in the global config.
  • Make sure that default logging config for each component is included in the inmanta-core python package. This config should be used by default if no other logging config was provided.
@wouterdb wouterdb self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants