Forgot to log internal_locks too.