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

Do not log token refreshes as errors #172

Open
jelmerk opened this issue Oct 3, 2019 · 1 comment
Open

Do not log token refreshes as errors #172

jelmerk opened this issue Oct 3, 2019 · 1 comment

Comments

@jelmerk
Copy link

jelmerk commented Oct 3, 2019

Our openstack tokens have a limited lifespan after which a token refresh is required

When this happens org.javaswift.joss.command.impl.core.AbstractCommand will log things like

JOSS / HTTP PUT call https://swift.foo.com/v1/635dc89302e143559de621fa91b0f875/bucket/file, HTTP status 401, Error UNAUTHORIZED

At level error. However these are not errors, they are inevitable as part of the refresh process.

Logging at info level would be more appropriate

@jelmerk
Copy link
Author

jelmerk commented Jul 20, 2020

Workaround

<logger name="org.javaswift.joss.command.impl.core.AbstractCommand" level="OFF" />

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