diff options
| author | tunkki <tunkki@tunkkikone> | 2016-08-14 19:33:18 +0300 |
|---|---|---|
| committer | tunkki <tunkki@tunkkikone> | 2016-08-14 19:33:18 +0300 |
| commit | fd073bed4077f6a8ab284d53d852c35245bcb309 (patch) | |
| tree | 80f262a17aad0d52d4ae8525f179f28960d20f47 /index.js | |
| parent | a3c6f98ce18c6dc26abff965bed06b9885f2d27c (diff) | |
Update layout
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ var express = require("express"); var ejs = require("ejs"); var winston = require("winston"); winston.remove(winston.transports.Console); -winston.add(winston.transports.Console, {'timestamp': true}); +winston.add(winston.transports.Console, {'handleExceptions': true, 'exitOnError': false, 'timestamp': true}); winston.add(winston.transports.File, { filename: './logs/server.log', level: 'info', timestamp: true, handleExceptions: true, maxsize: 5242880, maxFiles: 10}); winston.level = 'info'; |
