add log into file