Skip to content

Commit

Permalink
polish warning log format
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Sep 25, 2024
1 parent 5f2d016 commit 6470798
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public final boolean retain() {
if (oldCount <= 0) {
COUNTER_UPDATER.getAndDecrement(this);
logger.warn(
PROTOCOL_ERROR_CLOSE_CLIENT,
"",
"",
"Retain failed, because connection {} has been destroyed but not yet removed, will create a new one instead."
+ " Check logs below to confirm that this connection finally gets removed to make sure there's no potential memory leak!",
remote);
Expand Down

0 comments on commit 6470798

Please sign in to comment.