You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some unexpected situations are logged very verbosely. The conversion of a Session into an entity, for example, will log an error like this:
2024-11-15 10:36:36.910 ERROR [Jetty-QTP-AdminConsole-19336]: org.jivesoftware.openfire.plugin.rest.controller.SessionController - UnknownHostException
java.net.UnknownHostException: null
at org.jivesoftware.openfire.nio.NIOConnection.getHostAddress(NIOConnection.java:159) ~[xmppserver-4.7.5.jar:4.7.5]
at org.jivesoftware.openfire.session.LocalSession.getHostAddress(LocalSession.java:518) ~[xmppserver-4.7.5.jar:4.7.5]
at org.jivesoftware.openfire.plugin.rest.controller.SessionController.convertToSessionEntities(SessionController.java:167) ~[?:?]
at org.jivesoftware.openfire.plugin.rest.controller.SessionController.getAllSessions(SessionController.java:82) ~[?:?]
at org.jivesoftware.openfire.plugin.rest.service.SessionService.getAllSessions(SessionService.java:53) ~[?:?]
Although (somewhat) unexpected, this is hardly an error. At the very least, it's not an error in the REST API, and it's not something that a consumer of the REST API can have an influence over.
Logging events like this needlessly pollutes log files. The log level should be reduced.
The text was updated successfully, but these errors were encountered:
guusdk
added a commit
to guusdk/openfire-restAPI-plugin
that referenced
this issue
Nov 17, 2024
Some unexpected situations are logged very verbosely. The conversion of a Session into an entity, for example, will log an error like this:
Although (somewhat) unexpected, this is hardly an error. At the very least, it's not an error in the REST API, and it's not something that a consumer of the REST API can have an influence over.
Logging events like this needlessly pollutes log files. The log level should be reduced.
The text was updated successfully, but these errors were encountered: