I’m developping a page web with html and php but when i run my code i obtain notices in my page like this
1345224199 [INFO]: Connecting to tcp://192.168.1.6:5222
1345224199 [VERBOSE]: Socket is ready; send it.
1345224199 [VERBOSE]: SENT:
1345224199 [VERBOSE]: Successfully sent 112 bytes.
1345224199 [VERBOSE]: Disconnecting...
1345224199 [VERBOSE]: Socket is ready; send it.
1345224199 [VERBOSE]: SENT:
1345224199 [VERBOSE]: Successfully sent 16 bytes.
1345224199 [VERBOSE]: RECV:
1345224199 [VERBOSE]: RECV: DIGEST-MD5PLAINANONYMOUSCRAM-MD5zlib
1345224199 [DEBUG]: Calling features_handler
1345224199 [VERBOSE]: Socket is ready; send it.
1345224199 [VERBOSE]: SENT:
1345224199 [VERBOSE]: Successfully sent 73 bytes.
1345224199 [DEBUG]: EVENT: end_stream
How can i avoid displaying this notices in my page web?
try with
$loglevel=XMPPHP_Log::LEVEL_ERROR, it will show you only errors, or$loglevel=nullfor nothing.