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

OPA decision logs are logging at INFO #1089

Open
pflynn-virtru opened this issue Jul 3, 2024 · 1 comment
Open

OPA decision logs are logging at INFO #1089

pflynn-virtru opened this issue Jul 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pflynn-virtru
Copy link
Member

OPA Decision Log is a large logging statement and it is being logged at INFO level.

Expected:

  • OPA Decision Log at DEBUG

  • investigate the slog to OPA logger

  • investigate the individual loggers and the log level

@pflynn-virtru pflynn-virtru added the bug Something isn't working label Jul 3, 2024
@pflynn-virtru pflynn-virtru self-assigned this Jul 3, 2024
@pflynn-virtru
Copy link
Member Author

Note OPA logs this at INFO, so we would need to "override" it somehow.

https://github.com/open-policy-agent/opa/blob/b8a7809d9975d54b6d675f66300da3da6d89b99b/plugins/logs/plugin.go#L1118

@pflynn-virtru pflynn-virtru linked a pull request Jul 3, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant