Project

General

Profile

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, value:domain.com]]".

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

basic-conf/logging/tigase.http.level=SEVER

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:

basic-conf/logging/tigase.http.level=OFF

basic-conf/logging/tigase.server.level=OFF

However, it's not working for our purpose and we still have "[[var:max_items, value:None], [var:domainjid, value:domain.com]]" 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 about 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 about 3 years ago

Thank you, Wojciech, that resolved our issue!

    (1-4/4)