Fix issue that logfile excced regular file size limit