I had use SmackConfiguration.DEBUG
to true
before making a connection.
as per below link
Debugging with Smack
====================
[Back](index.md)
Smack includes two built-in debugging consoles that will let you track
all XML traffic between the client and server. A lite debugger and an
enhanced debugger contained in `smack-debug.jar`, and a console debugger in `smack-core.jar`.
Debugging mode can be enabled in two different ways:
1. Add the following line of code **before** creating new connections:
`SmackConfiguration.DEBUG = true;`
2. Set the Java system property `smack.debugEnabled` to true. The system property can be set on the command line such as:
`java -Dsmack.debugEnabled=true SomeApp `
If you wish to explicitly disable debug mode in your application, including
This file has been truncated. show original
Flow
April 8, 2019, 7:34am
2
Is there a question hidden somewhere, or is this just meant as helpful information to others (which appears to duplicate what is already written in the documentation)?
system
Closed
June 9, 2019, 7:39am
3
This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.