synchronized logging