diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-18 17:39:30 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-18 17:39:30 +0200 |
| commit | ec256bbdab10f6c239c1849766d37b792ff10939 (patch) | |
| tree | f71227633868760b5ba0327d4666ed7b51b0fe21 | |
| parent | 6c6727916e6478f3b23e4561d3041e2bdff43cf0 (diff) | |
| download | cruncher-ec256bbdab10f6c239c1849766d37b792ff10939.tar.gz cruncher-ec256bbdab10f6c239c1849766d37b792ff10939.zip | |
logging profiler doesn't seem to support string replacement
| -rw-r--r-- | worker.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,8 +146,8 @@ const logger = new (winston.Logger)({ if (records != undefined) player_records = player_records.concat(records); } - calculation_profiler.done("calculations for %s %s", - msg.properties.type, player_id); + calculation_profiler.done("calculations for " + + msg.properties.type + " " + player_id); let transaction_profiler = logger.startTimer(); try { |
