We are getting these logs printed frequently whenever we use the client and it hampers ours debugging effort since it creates an unnecessary clutter among the logs that we need to debug.
Handling Header Size. Length: 376 (small)
14:53:55,583 INFO [sfs2x.client.core.SFSIOHandler] (New I/O worker #1) Data size is 94
14:53:55,583 INFO [sfs2x.client.core.SFSIOHandler] (New I/O worker #1) Handling Data: 374, previous state: 0/94
14:53:55,583 INFO [sfs2x.client.core.SFSIOHandler] (New I/O worker #1) <<< Packet Complete >>>
14:53:55,584 INFO [sfs2x.client.core.SFSIOHandler] (New I/O worker #1) Handling New Packet of size 280
14:53:55,584 INFO [sfs2x.client.core.SFSIOHandler] (New I/O worker #1) Handling Header Size. Length: 279 (small)
Is there any way to stop the client from printing these logs so that we can have only our own logs in the log file and the console?
We've already used set the debug flag as false in the code. But we're still getting the logs that I've mentioned. The other SFS logs are not printed, but only those lines still keep getting printed.
The first problem was that we were using an old version of the SFS2X Java client API. So, we downloaded the latest API and tried to use it. Then, we learned that we need to use Java 1.7 instead of Java 1.6 which is what we were using. We updated Java and everything was alright in the world again!