Log icp data to file instead of stdout