You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/03/29 11:53:16 UTC
[jira] [Resolved] (AMQ-4901) The examples/swissarmy should setup
slf4j/log4j when running
[ https://issues.apache.org/jira/browse/AMQ-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved AMQ-4901.
------------------------------
Resolution: Unresolved
> The examples/swissarmy should setup slf4j/log4j when running
> ------------------------------------------------------------
>
> Key: AMQ-4901
> URL: https://issues.apache.org/jira/browse/AMQ-4901
> Project: ActiveMQ
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Trivial
> Fix For: 5.10.0
>
>
> So when you run this example the slfj4 doesnt complain and you can configure log4j.properties to have logging levels you want
> davsclaus:/opt/apache-activemq-5.10-SNAPSHOT/examples/openwire/swissarmy$ ant consumer
> Buildfile: /opt/apache-activemq-5.10-SNAPSHOT/examples/openwire/swissarmy/build.xml
> init:
> compile:
> consumer:
> [echo] Running consumer against server at $url = tcp://localhost:61616 for subject $subject = TEST.FOO
> [java] Connecting to URL: tcp://localhost:61616 (:)
> [java] Consuming queue: TEST.FOO
> [java] Using a non-durable subscription
> [java] Running 1 parallel threads
> [java] log4j:WARN No appenders could be found for logger (org.apache.activemq.transport.WireFormatNegotiator).
> [java] log4j:WARN Please initialize the log4j system properly.
> [java] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> [java] [Thread-1] We are about to wait until we consume: 2000 message(s) then we will shutdown
--
This message was sent by Atlassian JIRA
(v6.2#6252)