Project

General

Profile

Issue with logs: can't see logs from OfflineMessages.process method

Igor Khomenko
Added almost 3 years ago

Hi there

I have just tried to put some logs inside OfflineMessages.process method but can't see them in logs/tigase.log.0

but, I can see logs from methods that are called from OfflineMessages.process*, for example, *restorePacketForOffLineUser, savePacketForOffLineUser

My init.properties config:

--debug = xmpp

any ideas why it happens?


Replies (2)

Added by Wojciech Kapcia TigaseTeam almost 3 years ago

This depends ;)

  • what kind of logs?

  • are you sure you are using OfflineMessages plugin (you have to set it explicitly) and not (default) MessageAMP@, which utilizes @OfflineMessages class and mentioned methods, but not OfflineMessages.process() itself?

Added by Igor Khomenko almost 3 years ago

Actually all logs

for example,

log.info("my Log");
System.out.println("myLog");

I don't anything of that

are you sure you are using OfflineMessages plugin (you have to set it explicitly) and not (default) MessageAMP, which utilizes OfflineMessages class and mentioned methods, but not OfflineMessages.process() itself?

yes, we use MessageAMP plugin, is it a case?

    (1-2/2)