How to Log In and Out Packets
Posted: 21 May 2020, 14:19
Hey, can someone tell me how I can start logging in and out packets? This used to be possible, but now I'm not too sure.
http://docs2x.smartfoxserver.com/Gettin ... figuration
But when I do that, I am not getting the packet dumps as expected.
http://docs2x.smartfoxserver.com/Gettin ... figuration
I tried doing this:DEBUG: provides lots of details about each incoming/outgoing request including a binary dump of each packet. This level is recommended only for local debugging, it must be turned off for production otherwise it could impact the server performance and generate huge log files.
In order to change the logging level you can edit the {SFS2X}/config/log4j.properties and change this line (should be line 61):
Code: Select all
log4j.category.com.smartfoxserver=DEBUG,consoleAppender,fileAppender