Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-10-05 23:27:23 +0400
committerisaacs <i@izs.me>2010-10-05 23:28:13 +0400
commitb92b9acca2e2d961517936bab8fa7a7fa91fe2b3 (patch)
tree6174bd7f042659044ea457573f57d9c1b80d6551
parent12a9c0a01d9dfaea79bbc471d2bdbaddee84dca6 (diff)
Tone down the logging
-rw-r--r--lib/utils/registry/request.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/utils/registry/request.js b/lib/utils/registry/request.js
index 81f998493..4e264311d 100644
--- a/lib/utils/registry/request.js
+++ b/lib/utils/registry/request.js
@@ -102,7 +102,6 @@ function request (method, where, what, cb) {
cb(null, parsed, data, response)
})
})
- log.error("about to upload")
if (what instanceof File) {
var size = Math.min(what.length, 1024*1024*1024)
, remaining = what.length
@@ -122,7 +121,7 @@ function request (method, where, what, cb) {
request.write(bytesRead === b.length ? b : b.slice(0, bytesRead))
) ? W()
: request.on("drain", function DRAIN () {
- log.error(remaining, "drain")
+ log.silly(remaining, "drain")
request.removeListener("drain", DRAIN)
W()
})