log writing at one place