In Socket.IO I could adjust the "verbosity" of the logger by editing the log level
option:
The amount of detail that the server should output to the logger.
0 - error
1 - warn
2 - info
3 - debug
Now I'm using Sock.js. My log file gets filled by these messages:
POST /733/o1q4zdmo/xhr_send?t=1380900035633 5ms 204
POST /733/o1q4zdmo/xhr_send?t=1380900036926 6ms 204
POST /733/o1q4zdmo/xhr_send?t=1380900041212 4ms 204
POST /733/o1q4zdmo/xhr_send?t=1380900045510 1ms 204
I want to filter them. How could I do this in Sock.js? The only solution is an override of the log function? (with the log
setting), and then with a switch
filter the messages with the severity?