mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Clear loghandlers on init and supress output in tests
This commit is contained in:
@@ -123,7 +123,9 @@ module.exports = {
|
||||
|
||||
startServer: function(done) {
|
||||
server = http.createServer(function(req,res){app(req,res);});
|
||||
RED.init(server, {});
|
||||
RED.init(server, {
|
||||
logging:{console:{level:'off'}}
|
||||
});
|
||||
server.listen(listenPort, address);
|
||||
server.on('listening', function() {
|
||||
port = server.address().port;
|
||||
|
Reference in New Issue
Block a user