Proper flushing of install logs