Page 1 of 1

Server Extension Logs Not visible - Guidance Needed

Posted: 23 May 2011, 18:56
by deviator206
Hi ,

I am using Java Extension!!

In Sfs1x i was able to check out the logs of every command that the client sends and response that the server pushes in just by simple println() in java extension.

But in sfs2x not able to check it out. Though i have put the debug statements but not able to see in logs.

m i missing some thing in checking the logs?

Please need some response..

Posted: 24 May 2011, 03:33
by Lapo
Yes, you need to use trace(...) which is a method inherited from the top class and available in various formats.
Check the javadoc:
http://docs2x.smartfoxserver.com/api-do ... nsion.html