You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/18 20:55:00 UTC

[jira] [Work logged] (ARTEMIS-3356) Paging - wrong arguments in formatted message

     [ https://issues.apache.org/jira/browse/ARTEMIS-3356?focusedWorklogId=611894&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-611894 ]

ASF GitHub Bot logged work on ARTEMIS-3356:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Jun/21 20:54
            Start Date: 18/Jun/21 20:54
    Worklog Time Spent: 10m 
      Work Description: brusdev commented on a change in pull request #3629:
URL: https://github.com/apache/activemq-artemis/pull/3629#discussion_r654134152



##########
File path: artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java
##########
@@ -253,8 +253,8 @@ public synchronized PagedMessage readMessage(int startOffset,
 
    public synchronized List<PagedMessage> read(StorageManager storage, boolean onlyLargeMessages) throws Exception {
       if (logger.isDebugEnabled()) {
-         logger.debugf("reading page %d on address = %s onlyLargeMessages = %b", storeName, pageId,
-                       storage, onlyLargeMessages);
+         logger.debugf("reading page %d on address = %s onlyLargeMessages = %b", new Object[] {pageId,

Review comment:
       I see thanks




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 611894)
    Remaining Estimate: 0h
            Time Spent: 10m

> Paging - wrong arguments in formatted message
> ---------------------------------------------
>
>                 Key: ARTEMIS-3356
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3356
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.17.0
>            Reporter: Michal Petrov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [Page.read()|https://github.com/apache/activemq-artemis/blob/main/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java#L255-L258] has wrong arguments declared in a formatted debug message. Throws {{java.util.IllegalFormatConversionException}} when debug is enabled.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)