mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Clean up some logs
* Add serializer for 'err' in logs for passing full err object * Don't dump HUGE message lists to log during new scan
This commit is contained in:
parent
14c8b39a9e
commit
485711b5da
4 changed files with 44 additions and 19 deletions
|
@ -2,7 +2,6 @@
|
|||
'use strict';
|
||||
|
||||
var bunyan = require('bunyan');
|
||||
var miscUtil = require('./misc_util.js');
|
||||
var paths = require('path');
|
||||
var fs = require('fs');
|
||||
|
||||
|
@ -57,7 +56,8 @@ module.exports = {
|
|||
stream : ringBuffer,
|
||||
level : 'trace'
|
||||
}*/
|
||||
]
|
||||
],
|
||||
serializers: { err : bunyan.stdSerializers.err } // handle 'err' fields with stack/etc.
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue