Projects tigase _server server-core Issues #1070
Improve privacy list loggging (#1070)
Closed
wojciech.kapcia@tigase.net opened 5 years ago

Currently, due to lack of .toString(), it prints garbage…

[2019-09-02 18:18:24:544] [FINEST  ] [scheduler_pool-14-thread-2-c2s ] JabberIqPrivacy.allowed(): Using privcy list: PrivacyList[default, [tigase.xmpp.impl.PrivacyList$ItemJid@4565bdef,tigase.xmpp.impl.PrivacyList$ItemJid@59337eb3,tigase.xmpp.impl.PrivacyList$ItemJid@7c7d613b,tigase.xmpp.impl.PrivacyList$ItemJid@664bff6f,tigase.xmpp.impl.PrivacyList$ItemJid@ea9bc8c,tigase.xmpp.impl.PrivacyList$ItemJid@4cad9d0c…]
wojciech.kapcia@tigase.net commented 5 years ago
  • added relevant .toString() implementations
  • limited output to first 10 items:
PrivacyList[name=special, size: 15, items: JID: juliet@example.com: allowed, Group: my_group: allowed, JID: mercutio@example.org: allowed, Subscription: both: allowed, Subscription: both: allowed, Subscription: both: allowed, Subscription: both: allowed, Subscription: both: allowed, Subscription: both: allowed, Subscription: both: allowed, ... 5 more...]
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.1.0
Spent time
1h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1070
Please wait...
Page is in error, reload to recover