moved log mutexes into the log tree surface