Skip to content

Set OTel Collector Log Level To Match Agent #1186

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

Merged
merged 4 commits into from
Jul 31, 2025
Merged

Conversation

aphralG
Copy link
Contributor

@aphralG aphralG commented Jul 28, 2025

Proposed changes

If the log level of the the OTel collector is not set in nginx-agent.conf set the log level to match that of the Agent log level unless the log level is unsupported by OTel.

Add validation when setting agent log is "error", "warn", "info" or "debug"

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@aphralG aphralG self-assigned this Jul 28, 2025
@aphralG aphralG requested a review from a team as a code owner July 28, 2025 11:31
@github-actions github-actions bot added the chore Pull requests for routine tasks label Jul 28, 2025
@aphralG aphralG added v3.x Issues and Pull Requests related to the major version v3 and removed chore Pull requests for routine tasks labels Jul 28, 2025
@github-actions github-actions bot added the chore Pull requests for routine tasks label Jul 30, 2025
@aphralG aphralG merged commit a03f7cf into main Jul 31, 2025
25 checks passed
@aphralG aphralG deleted the set-otel-log-level branch July 31, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks v3.x Issues and Pull Requests related to the major version v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants