Thanks a lot. It works just as I wanted it to. Tomas
On Wed, Nov 30, 2011 at 11:02 AM, Gordon Sim <[email protected]> wrote: > 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] > -- Tomáš Šoltys [email protected] http://www.range-software.com (+420) 776-843-663 --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
