added logging for locks still needs scheduling log