[jboss-jira] [JBoss JIRA] (WFLY-6660) Allow to dump Artemis journal to file by CLI operation
Miroslav Novak (JIRA)
issues at jboss.org
Tue May 31 05:00:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245076#comment-13245076 ]
Miroslav Novak commented on WFLY-6660:
--------------------------------------
Dump to CLI appears to be ok. It's possible to redirect CLI output file like:
{code}[standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default/jms-queue=DLQ:count-messages > number_of_messages.txt{code}
Also I just figured out that it's possible to dump journal during runtime as well. So admin only mode is not required.
> Allow to dump Artemis journal to file by CLI operation
> ------------------------------------------------------
>
> Key: WFLY-6660
> URL: https://issues.jboss.org/browse/WFLY-6660
> Project: WildFly
> Issue Type: Feature Request
> Components: JMS
> Affects Versions: 10.0.0.Final
> Reporter: Miroslav Novak
> Assignee: Jeff Mesnil
> Attachments: journal.txt
>
>
> For debugging and investigation purposes it would useful to have CLI operation which would dump content of Artemis journal directory.
> New CLI operation like {{print-journal-date-content}} would print content of journal to a file.
> It would do the same thing like following Artemis CLI command:
> {code}
> .../activemq-artemis/artemis-distribution/target/apache-artemis-1.3.0-SNAPSHOT-bin/apache-artemis-1.3.0-SNAPSHOT/bin/artemis data print --bindings bindings --journal journal --paging paging --large-messages largemessages
> {code}
> This should work only in Admin only mode as dumping journal in run-time is not possible when data changes.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list