Project

General

Profile

Change log level of the server

praveen poojary
Added about 4 years ago

Hi,

Can you please tell me how I can change the log level of the entire server to the FINEST/ALL mode.

I have added the following configurations:

--debug = server,tigase.cluster,tigase.xml

basic-conf/logging/.level=FINEST

basic-conf/logging/tigase.cluster.level=FINEST

basic-conf/logging/tigase.xml=FINEST

Apart from this I also tried enabling test mode of tigase server using --test=true.

But I am unable to change the log level of the server.

Regards,

Praveen


Replies (3)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 4 years ago

you only need this in your config:

--debug=server,cluster,xml

For more details please refer to online documentation

Added by Hamid Alimohammadi about 4 years ago

Hi Artur and Parveen,

sorry to jump in the conversation. The above documentation was useful for me as well. Actually I have some issues because of huge amount of logs being sent from server to syslog-server, somehow I am looking for the opposite level of logs (minimal) that Parveen asked.

Do you have any idea what could be the --debug to narrow down the logs level to show authentication/authorization related logs for troubleshooting users' failed logins attempts?

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 4 years ago

Hm, you can get minimal debug logs related to authentication only with following config:

--debug=xmpp.impl.JabberIqAuth,xmpp.impl.SaslAuth

I am not sure, though if this will be enough.

    (1-3/3)