Skip to content

Commit

Permalink
fix(logging): shhhhhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed May 12, 2017
1 parent 4c12421 commit e7ea56e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function extractByDigest (start, spec, dest, opts) {
const xtractor = extractStream(dest, opts)
const cached = cacache.get.stream.byDigest(opts.cache, opts.integrity, opts)
return pipe(cached, xtractor).then(() => {
opts.log.verbose('pacote', `${spec} extracted to ${dest} by content address ${Date.now() - start}ms`)
opts.log.silly('pacote', `${spec} extracted to ${dest} by content address ${Date.now() - start}ms`)
})
}

Expand All @@ -75,7 +75,7 @@ function extractByManifest (start, spec, dest, opts) {
}
return pipe(fetch.tarball(spec, opts), xtractor)
}).then(() => {
opts.log.verbose('pacote', `${spec} extracted in ${Date.now() - start}ms`)
opts.log.silly('pacote', `${spec} extracted in ${Date.now() - start}ms`)
})
}

Expand Down
2 changes: 1 addition & 1 deletion manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function manifest (spec, opts) {
manifest._where = opts.where
}
const elapsedTime = Date.now() - startTime
opts.log.verbose('pacote', `${spec.type} manifest for ${spec.name}@${spec.saveSpec || spec.fetchSpec} fetched in ${elapsedTime}ms`)
opts.log.silly('pacote', `${spec.type} manifest for ${spec.name}@${spec.saveSpec || spec.fetchSpec} fetched in ${elapsedTime}ms`)
return manifest
})
})
Expand Down
2 changes: 1 addition & 1 deletion prefetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function prefetchByManifest (start, spec, opts) {
stream.on('integrity', i => { integrity = i })
return finished(stream)
}).then(() => {
opts.log.verbose('prefetch', `${spec} done in ${Date.now() - start}ms`)
opts.log.silly('prefetch', `${spec} done in ${Date.now() - start}ms`)
return {
manifest,
spec,
Expand Down

0 comments on commit e7ea56e

Please sign in to comment.