-
Notifications
You must be signed in to change notification settings - Fork 45
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
Error log if AZDCAP_DEBUG_LOG_LEVEL env var is not set #114
Comments
That should be a warning/info, it's definitely not an error. Filed #115 for the typo. |
Thanks agreed - we'll get this fixed |
This was referenced Jul 17, 2020
deschuma
added a commit
that referenced
this issue
Aug 6, 2020
…ached for (#122) Allow PCK Cache to determine how long to cache collateral. Ordinarily, collateral should always be cached for 24 hours but PCK cache will examine the expiration time of the collateral and notify the Azure DCAP Client how long the collateral should be cached for. For example, if the collateral will expire in 3 hours, the cache-control header will tell Azure DCAP Client to cache the collateral for only three hours so Azure DCAP client will re-query for newer collateral in that time frame. This PR also addresses issue #114 by re-classifying errors reading environment variables to be warning instead of errors. The library is configured to operate with sensible defaults if no environment variables are defined.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the
AZDCAP_DEBUG_LOG_LEVEL
environment is not set, the following error log is printed:Azure Quote Provider: libdcap_quoteprov.so [ERROR]: Could not retreive environment variable for 'AZDCAP_DEBUG_LOG_LEVEL'
I believe this is undesirable behaviour and the library should set a sensible default value for the log level that could be overridden with
AZDCAP_DEBUG_LOG_LEVEL
.The text was updated successfully, but these errors were encountered: