log works