Skip to content

Allow configuring log level and format #108

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

Open
FredrikAugust opened this issue Feb 6, 2025 · 1 comment
Open

Allow configuring log level and format #108

FredrikAugust opened this issue Feb 6, 2025 · 1 comment

Comments

@FredrikAugust
Copy link
Contributor

Argo rollouts allow setting the log format (text/json) and log level by environment variables, and allow sending args to the plugins as demonstrated by the newest PR #101. It would be great if that was possible with this plugin as well. Even though argo rollouts have a slightly hard-to-parse way to forward the logs from plugins (argoproj/argo-rollouts#4117), this would make it more approachable.

@FredrikAugust
Copy link
Contributor Author

Also, perhaps

time="2025-02-06T10:34:50Z" level=info msg="[SetWeight] plugin \"argoproj-labs/gatewayAPI\" controls TCPRoutes: []" plugin=trafficrouter

Should be a debug log? It's logged quite frequently as we have 40-50 GRPC/HTTP routes, and when reconciling I believe it prints this for TPC, HTTP and GRPC routes per rollout.

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

No branches or pull requests

1 participant