Skip to content

Improved logging for GOPACSHandler #8

Merged
wborn merged 3 commits into
mainfrom
feature/gopacs-extend-logging
Mar 27, 2026
Merged

Improved logging for GOPACSHandler #8
wborn merged 3 commits into
mainfrom
feature/gopacs-extend-logging

Conversation

@Miggets7
Copy link
Copy Markdown
Contributor

Added logging for showing the contents of the incoming message and outgoing flexOffer. Also use getConversationID to link messages.

…tgoing flexOffer. Also use getConversationID to link messages.
@Miggets7 Miggets7 requested a review from wborn February 11, 2026 11:22
Comment thread ems/src/main/java/org/openremote/extension/ems/manager/gopacs/GOPACSHandler.java Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves observability of GOPACS UFTP message handling by logging conversation IDs and (at debug level) message contents to help correlate inbound/outbound traffic.

Changes:

  • Update incoming/outgoing message logs to include conversationID and message type.
  • Add debug logs that serialize/log payload XML for outbound messages and raw inbound payload XML.
  • Minor import cleanup (static import narrowed; import reordering).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ems/src/main/java/org/openremote/extension/ems/manager/gopacs/GOPACSHandler.java Outdated
Comment thread ems/src/main/java/org/openremote/extension/ems/manager/gopacs/GOPACSHandler.java Outdated
- Restore AGPL license header
- Guard LOG.fine calls with LOG.isLoggable for XML payload logging
- Add trailing newline at end of file
@Miggets7 Miggets7 requested a review from wborn March 26, 2026 11:10
@wborn wborn merged commit eb15ec9 into main Mar 27, 2026
1 check passed
@wborn wborn deleted the feature/gopacs-extend-logging branch March 27, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants