Ad-hoc logging

Julia Zashchitina
Added over 3 years ago

Hello everyone. We are using Tigase server 7.0.2 with Tigase HTTP Api. Each time we perform some ad-hoc command, Tigase writes script input to console log, for ex.:

"[[var:max_items, value:None], [var:domainjid,]]".

Could you please tell us, how to disable this particular log output?

Replies (4)

Added by Igor Khomenko over 3 years ago

Maybe something like this will work


Added by Julia Zashchitina over 3 years ago

Thank you for your reply. We tried to set HTTP component log level to SEVERE as you suggested, we even tried using:



However, it's not working for our purpose and we still have "[[var:max_items, value:None], [var:domainjid,]]" output in Tigase console.

We also haven't managed to find where this output is performed within Tigase Server or HTTP component source code.

Added by Wojciech Kapcia TigaseTeam over 3 years ago

There has been one print statement in AdHoc handler - I've replaced it with logger call. Please try next nightly.

Added by Julia Zashchitina over 3 years ago

Thank you, Wojciech, that resolved our issue!