Log thread safety (wip)