Improved performance of file logging during installation/update