Permalink
Browse files

reformat keyFlush log into key value pairs

  • Loading branch information...
1 parent 11049a2 commit 087fde9f3e52c4f76cc28b3d9bf986e0a3a3ae49 @ickymettle ickymettle committed with mrtazz May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stats.js
View
@@ -281,7 +281,7 @@ config.configFile(process.argv[2], function (config, oldConfig) {
// only show the top "keyFlushPercent" keys
for (var i = 0, e = sortedKeys.length * (keyFlushPercent / 100); i < e; i++) {
- logMessage += timeString + " " + sortedKeys[i][1] + " " + sortedKeys[i][0] + "\n";
+ logMessage += timeString + " count=" + sortedKeys[i][1] + " key=" + sortedKeys[i][0] + "\n";
}
var logFile = fs.createWriteStream(keyFlushLog, {flags: 'a+'});

0 comments on commit 087fde9

Please sign in to comment.