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

Log when creating cache entry on synchronous calls #25178

Closed
sanaltsk opened this issue Apr 26, 2022 · 1 comment · Fixed by #25182
Closed

Log when creating cache entry on synchronous calls #25178

sanaltsk opened this issue Apr 26, 2022 · 1 comment · Fixed by #25182
Labels
area/cache kind/bug Something isn't working
Milestone

Comments

@sanaltsk
Copy link
Contributor

Describe the bug

Currently there is no way to know when the cache entry is created using synchronous calls, the only log seen for synchronous calls are during the loading phase from the cache.

Expected behavior

It would be better to log before creating cache entries in quarkus

Actual behavior

Show "Adding entry with key [%s] into cache [%s]" msg when adding cache entry through synchronous calls

How to Reproduce?

Use quarkus cache and hit the call for the first time, no logs are seen on cache creation.

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@sanaltsk sanaltsk added the kind/bug Something isn't working label Apr 26, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 26, 2022

/cc @gwenneg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cache kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants