diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-12 20:23:45 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-01-12 20:23:45 +0100 |
| commit | 6b71325f7af1c331988e9e7e60852d63e961c891 (patch) | |
| tree | 9ad987e6b27c4aa0ef3a8071369fb9bc1eeed168 | |
| parent | 30fbc21d4362fdef1eb61426e9b9182518f8c746 (diff) | |
| download | shrinker-6b71325f7af1c331988e9e7e60852d63e961c891.tar.gz shrinker-6b71325f7af1c331988e9e7e60852d63e961c891.zip | |
add winston file logging
| -rw-r--r-- | worker.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ const logger = new (winston.Logger)({ new (winston.transports.Console)({ timestamp: true, colorize: true + }), + new (winston.transports.File)({ + label: QUEUE, + filename: "shrinker.log" }) ] }); |
