I believe Qpid 0.12 shipped with SLF4J 1.6 and so should default to
NO-OP logging (and a warning as such) out the box. If you havent done
any logging configuration yourself, that might suggest Log4J is
picking a log4j.properties or log4j.xml file up from the classpath
(assuming you are using Log4J). How precisely are you running the
example? If you run it with the log4j.debug system property set true
(eg -Dlog4j.debug=true) it should print out where it is getting any
config its using from.

Robbie

On 7 December 2011 09:26, Muqtafi Akhmad <muqtafiakh...@gmail.com> wrote:
> Hi, all
>
> I'm new to ApacheQpid, i've tried some Java example from
>       https://svn.apache.org/repos/asf/qpid/trunk/qpid/java/client/example/
>
> and the library, in jar files, downloaded from the full source release
>       http://apache.the.net.id//qpid/0.12/qpid-0.12.tar.gz
>
> When i was run the MapReceiver.java and MapSender.java, some logs appear in
> the terminal :
>
>      main 2011-12-07 16:05:47,812 DEBUG [apache.qpid.client.AMQConnection]
> AMQP version 0-10
>      main 2011-12-07 16:05:47,839 DEBUG
> [qpid.client.security.DynamicSaslRegistrar] public static void
> registerSaslProviders(): called
>      main 2011-12-07 16:05:47,844 DEBUG
> [qpid.client.security.DynamicSaslRegistrar] props =
>  {ANONYMOUS=org.apache.qpid.client.security.anonymous.AnonymousSaslClientFactory,
> CRAM-MD5-
> HASHED=org.apache.qpid.client.security.crammd5hashed.CRAMMD5HashedSaslClientFactory,
>
> AMQPLAIN=org.apache.qpid.client.security.amqplain.AmqPlainSaslClientFactory}
>      main 2011-12-07 16:05:47,848 DEBUG
> [qpid.client.security.DynamicSaslRegistrar] Registering class
>  org.apache.qpid.client.security.anonymous.AnonymousSaslClientFactory for
> mechanism ANONYMOUS
>      main 2011-12-07 16:05:47,850 DEBUG
> [qpid.client.security.DynamicSaslRegistrar] Registering class
> org.apache.qpid.client.security.crammd5hashed.CRAMMD5HashedSaslClientFactory
> for mechanism CRAM-MD5-HASHED
>      . . . . .
>
> Does any one know how to disable all of those debug logs from being printed
> in the terminal?
>
> Thanks,
>
> Regards
>
> --
> =============================
>                 Muqtafi Akhmad
>        ITB Informatics Engineering '08
> =============================

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscr...@qpid.apache.org

Reply via email to