Avoid use of lock by using a synchronized subject
Replacing logging with InfrastructureMessages