log the things in sperate file