add more logging to distributed lock routine