Fixed Multiple log writting