More changes to import log process.