ASF Bugzilla – Attachment 26230 Details for
Bug 50185
[tribes] Logging improvement
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
NioExtraLogging.patch (text/plain), 1.40 KB, created by
Ariel
on 2010-10-29 17:16:18 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Ariel
Created:
2010-10-29 17:16:18 UTC
Size:
1.40 KB
patch
obsolete
>Index: transport/nio/ParallelNioSender.java >=================================================================== >--- transport/nio/ParallelNioSender.java (revision 792283) >+++ transport/nio/ParallelNioSender.java (working copy) >@@ -81,7 +81,9 @@ > if ( cx == null ) { > if ( x instanceof ChannelException ) cx = (ChannelException)x; > else cx = new ChannelException("Parallel NIO send failed.", x); >+ if (log.isTraceEnabled()) log.trace("Error sending message", x); > } else { >+ if (log.isTraceEnabled()) log.trace("Error sending message", x); > if (x instanceof ChannelException) cx.addFaultyMember( ( (ChannelException) x).getFaultyMembers()); > } > //count down the remaining on an error >@@ -136,6 +138,9 @@ > SenderState.getSenderState(sender.getDestination()).setReady(); > }//end if > } catch (Exception x) { >+ if (log.isTraceEnabled()) { >+ log.trace("Error while processing send to " + sender.getDestination().getName(), x); >+ } > SenderState state = SenderState.getSenderState(sender.getDestination()); > int attempt = sender.getAttempt()+1; > boolean retry = (sender.getAttempt() <= maxAttempts && maxAttempts>0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50185
: 26230