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

[US-627] Example for Api Key Usage logs #258

Merged

Conversation

kellemNegasi
Copy link
Contributor

No description provided.

Copy link
Contributor

@anovik anovik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anovik anovik requested a review from sampila September 23, 2024 06:15
Copy link
Contributor

@sampila sampila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a comment

}
license.SetMeteredKeyUsageLogVerboseMode(true)
common.SetLogger(common.NewConsoleLogger(common.LogLevelInfo))
license.SetMeteredKeyPersistentCache(false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably can remove this? as this only needed when to report the usage to unicloud server immediately

Copy link
Contributor Author

@kellemNegasi kellemNegasi Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sampila
Do you mean this one
license.SetMeteredKeyPersistentCache(false) ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Copy link
Contributor

@sampila sampila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@sampila sampila merged commit 7ad39a3 into unidoc:master Sep 24, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants