Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Feature/documentation request: control the debug output #39

Open
erelsgl opened this issue Feb 12, 2013 · 2 comments
Open

Feature/documentation request: control the debug output #39

erelsgl opened this issue Feb 12, 2013 · 2 comments

Comments

@erelsgl
Copy link

erelsgl commented Feb 12, 2013

When I run the client, I get a lot of messages to stderr, such as:

Feb 12, 2013 3:25:28 PM io.socket.IOConnection transportMessage
INFO: < 5:::{"name":"status","args":[{"key":"remainingTime","value":"29:35"}]}

How can I suppress or control these messages?

@maeldur
Copy link

maeldur commented Feb 13, 2013

the library uses java.util.logging, with the "io.socket" namespace.

You can turn off everything by doing this:

Logger sioLogger = java.util.logging.Logger.getLogger("io.socket");
sioLogger.setLevel(Level.OFF);

@acivang
Copy link

acivang commented Nov 25, 2013

Good job! thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants