You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/19 13:32:00 UTC

[jira] [Commented] (QPID-6601) CHN messages 1002/1004 are logged for every receive call if prefetch zero is used

    [ https://issues.apache.org/jira/browse/QPID-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593343#comment-14593343 ] 

ASF subversion and git services commented on QPID-6601:
-------------------------------------------------------

Commit 1686390 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1686390 ]

QPID-6601: [Java Broker] Log CHN-1004 at most once per channel and CHN-1002 only if message polling is not used

Also reordered channel close messages so that channel close message follows the subscription close message(s).

> CHN messages 1002/1004 are logged for every receive call if prefetch zero is used
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-6601
>                 URL: https://issues.apache.org/jira/browse/QPID-6601
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: 6.0 [Java]
>
>
> If I use the Qpid JMS Client with a prefetch of zero, messages are fetched one by one, from the Broker.  Internally the client archives this with the 0-8..0-91 protocol using the channel.qos and using channel.flow.
> On the Java Broker side, currently it logs a CHN-1004 for every channel.qos received, and a CHN-1002 every time the flow is stopped or started.    When polling for messages, this means there are three operational logging line per message.  This is not useful to the end user.
> {noformat}
> 2015-06-19 10:21:31,712 INFO  [IO-/127.0.0.1:49447] (q.m.c.prefetch_size) - [con:3(guest@/127.0.0.1:49447/default)/ch:2] CHN-1004 : Prefetch Size (bytes) 0 : Count 1
> 2015-06-19 10:21:31,714 INFO  [IO-/127.0.0.1:49447] (q.m.c.flow) - [con:3(guest@/127.0.0.1:49447/default)/ch:2] [con:3(guest@/127.0.0.1:49447/default)/ch:2] CHN-1002 : Flow Started
> 2015-06-19 10:21:31,726 INFO  [IO-/127.0.0.1:49447] (q.m.c.flow) - [con:3(guest@/127.0.0.1:49447/default)/ch:2] [con:3(guest@/127.0.0.1:49447/default)/ch:2] CHN-1002 : Flow Stopped
> {noformat}
> Task is to change the Broker so that CHN-1004 is logged once per session.  Also change so that CHN-1002 is not logged in the special case when message polling is in use.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org