add missing imports, only add salt to log file name (not path)