mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +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.socket.configure('production', function () {
|
||||
this.set('log level', options.logLevel);
|
||||
});
|
||||
|
||||
this.socket.on('connection', function (user) {
|
||||
console.checkpoint('socket receiving connection');
|
||||
self.onConnection(user);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue