Skip to content

[UNDERTOW-2719] fix: replace printStackTrace() with proper logging#1929

Open
Senrian wants to merge 1 commit intoundertow-io:mainfrom
Senrian:fix-printstacktrace
Open

[UNDERTOW-2719] fix: replace printStackTrace() with proper logging#1929
Senrian wants to merge 1 commit intoundertow-io:mainfrom
Senrian:fix-printstacktrace

Conversation

@Senrian
Copy link
Copy Markdown

@Senrian Senrian commented Mar 4, 2026

Replace printStackTrace() calls with proper logging using UndertowLogger in 5 files.

Jira: https://issues.redhat.com/browse/UNDERTOW-2719

- Version.java: use ROOT_LOGGER.error for version loading failures
- AsyncReceiverImpl.java: remove redundant printStackTrace (already logs via REQUEST_IO_LOGGER)
- MCMPHandler.java: use PROXY_LOGGER.debug for ping response errors
- WebSocketChannel.java: use WEB_SOCKET_LOGGER.debug for close message errors
- DefaultByteBufferPool.java: use ROOT_LOGGER.debug for finalize cleanup warnings
@fl4via fl4via added the enhancement Enhances existing behaviour or code label Mar 4, 2026
@fl4via fl4via changed the title fix: replace printStackTrace() with proper logging [UNDERTOW-2719] fix: replace printStackTrace() with proper logging Mar 4, 2026
Copy link
Copy Markdown
Member

@fl4via fl4via left a comment

Choose a reason for hiding this comment

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

Please, add the previx [UNDERTOW-2719] to your commit message

@fl4via fl4via added the waiting PR update Awaiting PR update(s) from contributor before merging label Mar 4, 2026
@baranowb
Copy link
Copy Markdown
Contributor

Needs update of commit message but other than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhances existing behaviour or code waiting PR update Awaiting PR update(s) from contributor before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants