diff --git a/source/dub/dub.d b/source/dub/dub.d index 888669a..861e060 100644 --- a/source/dub/dub.d +++ b/source/dub/dub.d @@ -670,7 +670,7 @@ else logInfo("Fetching %s %s...", packageId, ver); if (m_dryRun) return null; - logDiagnostic("Acquiring package zip file"); + logDebug("Acquiring package zip file"); auto clean_package_version = ver[ver.startsWith("~") ? 1 : 0 .. $]; clean_package_version = clean_package_version.replace("+", "_"); // + has special meaning for Optlink @@ -696,7 +696,7 @@ supplier.fetchPackage(path, packageId, dep, (options & FetchOptions.usePrerelease) != 0); // Q: continue on fail? scope(exit) std.file.remove(path.toNativeString()); - logInfo("Placing %s %s to %s...", packageId, ver, placement.toNativeString()); + logDiagnostic("Placing to %s...", placement.toNativeString()); return m_packageManager.storeFetchedPackage(path, pinfo, dstpath); } diff --git a/source/dub/packagemanager.d b/source/dub/packagemanager.d index c8399f9..4a46097 100644 --- a/source/dub/packagemanager.d +++ b/source/dub/packagemanager.d @@ -342,7 +342,7 @@ auto package_version = package_info["version"].get!string; auto clean_package_version = package_version[package_version.startsWith("~") ? 1 : 0 .. $]; - logDiagnostic("Placing package '%s' version '%s' to location '%s' from file '%s'", + logDebug("Placing package '%s' version '%s' to location '%s' from file '%s'", package_name, package_version, destination.toNativeString(), zip_file_path.toNativeString()); if( existsFile(destination) ){ @@ -381,7 +381,7 @@ // extract & place mkdirRecurse(destination.toNativeString()); - logDiagnostic("Copying all files..."); + logDebug("Copying all files..."); int countFiles = 0; foreach(ArchiveMember a; archive.directory) { auto cleanedPath = getCleanedPath(a.name); @@ -401,7 +401,7 @@ ++countFiles; } } - logDiagnostic("%s file(s) copied.", to!string(countFiles)); + logDebug("%s file(s) copied.", to!string(countFiles)); // overwrite dub.json (this one includes a version field) auto pack = Package.load(destination, Path.init, null, package_info["version"].get!string); diff --git a/source/dub/packagesupplier.d b/source/dub/packagesupplier.d index 877422b..540e718 100644 --- a/source/dub/packagesupplier.d +++ b/source/dub/packagesupplier.d @@ -186,7 +186,7 @@ Json best = getBestPackage(packageId, dep, pre_release); auto vers = best["version"].get!string; auto url = m_registryUrl ~ Path(PackagesPath~"/"~packageId~"/"~vers~".zip"); - logDiagnostic("Found download URL: '%s'", url); + logDiagnostic("Downloading from '%s'", url); download(url, path); } diff --git a/source/dub/project.d b/source/dub/project.d index 015cd01..6a19be1 100644 --- a/source/dub/project.d +++ b/source/dub/project.d @@ -1162,7 +1162,6 @@ if (is_path) { auto p = Path(var); if (!p.absolute) { - logDebug("Fixing relative path: %s ~ %s", pack.path.toNativeString(), p.toNativeString()); return (pack.path ~ p).toNativeString(); } else return p.toNativeString(); } else return var;