On 11/30/2011 07:54 AM, Tomáš Šoltys wrote:
Thanks Gordon,

I prefer second option. But what I am really missing is the broker
method for changing the log level.

Something like:

Session().addBroker("user/pass@host:port", timeout).setLogLevel(DEBUG)

Is there something like this?

Not quite, but close. The following would work:

  import qmf.console

  ssn = qmf.console.Session()
  ssn.addBroker("localhost:5672")
  broker = ssn.getObjects(_class="broker")[0]
  broker.setLogLevel("debug+")

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to