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

Add lock acquisition log message for RedisLockRegistry #8804

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

Haarolean
Copy link
Contributor

@Haarolean Haarolean commented Dec 11, 2023

Added lock acquisition log message for RedisLockRegistry. Resolves #8803

Log example:

2023-12-12T03:47:57.762+07:00 DEBUG 47765 --- [   scheduling-1] o.s.i.redis.util.RedisLockRegistry       : Acquired lock; RedisLock [lockKey=lock:closeUnansweredIssues,lockedAt=1970-01-01@07:00:00.000, clientId=681096ad-0c3c-415f-9fee-93da8211d240]
2023-12-12T03:48:07.385+07:00 DEBUG 47765 --- [   scheduling-1] o.s.i.redis.util.RedisLockRegistry       : Released lock; RedisLock [lockKey=lock:closeUnansweredIssues,lockedAt=2023-12-12@03:47:57.764, clientId=681096ad-0c3c-415f-9fee-93da8211d240]

@artembilan artembilan merged commit 9bd8001 into spring-projects:main Dec 11, 2023
1 check passed
@artembilan
Copy link
Member

... and cherry-picked to 6.1.x.

@Haarolean ,

thank you for contribution; looking forward for more!

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.

RedisLockRegistry missing crucial logging messages
2 participants