mutex for log writing + absolute log number