Skip to content

Commit

Permalink
fix: log memory usage using "info" level
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 23, 2018
1 parent 965ea6e commit 390e065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logs/memory-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function logMemoryUsage (app) {
setInterval(() => {
const usage = process.memoryUsage()
const diff = usage.rss - lastMemory.rss
app.log.debug(usage, `Memory usage change: ${diff}`)
app.log.info(usage, `Memory usage change: ${diff}`)
lastMemory = usage
}, interval) // 10s
}

1 comment on commit 390e065

@vercel
Copy link

@vercel vercel bot commented on 390e065 Nov 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully aliased the URL https://wip-mcmzfbesrh.now.sh to the following alias.

Please sign in to comment.