I want to capture the in & out packets count / hour and corresponding size in logs, how can i do that?
Intent is to highlight the events:
1. which are carrying high packet size so that they can be optimised.
2. which are triggered the most, ie. count per hour.
Also i would like to have stats separately for zone and all rooms.
please help how can i achienve this?
In & Out packets count and packet size
Re: In & Out packets count and packet size
Hi,
you can do this analysis by turning on the DEBUG level of the logger. This will output all packets in binary and readable form in the log files. Then you can run a client (or multiple ones), play the game and check the resulting output.
I would not recommend to do this in production because the amount of logging is massive (especially with high traffic) and it will generate huge log files and degrade the server performance.
See here:
http://docs2x.smartfoxserver.com/Gettin ... figuration
Cheers
you can do this analysis by turning on the DEBUG level of the logger. This will output all packets in binary and readable form in the log files. Then you can run a client (or multiple ones), play the game and check the resulting output.
I would not recommend to do this in production because the amount of logging is massive (especially with high traffic) and it will generate huge log files and degrade the server performance.
See here:
http://docs2x.smartfoxserver.com/Gettin ... figuration
Cheers
Who is online
Users browsing this forum: No registered users and 92 guests