mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
set production log level of socket io
This commit is contained in:
parent
ece260e80e
commit
af0fb2ef6e
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ function (io) {
|
||||||
this.set('log level', options.logLevel);
|
this.set('log level', options.logLevel);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.socket.configure('production', function () {
|
||||||
|
this.set('log level', options.logLevel);
|
||||||
|
});
|
||||||
|
|
||||||
this.socket.on('connection', function (user) {
|
this.socket.on('connection', function (user) {
|
||||||
console.checkpoint('socket receiving connection');
|
console.checkpoint('socket receiving connection');
|
||||||
self.onConnection(user);
|
self.onConnection(user);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue