On 09/12/2011 06:05 AM, Pavel Moravec wrote:
Hello,
is there a list of areas we can modify logging level in cpp broker? I mean, when using 
"--log-enable debug:framing" option, list of verbosity levels is printed in 
qpidd help. But I can't find anywhere the list of areas to debug.

(I suppose the list is list of directories in qpid source, i.e.:

acl
agent
amqp_0_10
broker
client
cluster
console
framing
log
management
messaging
replication
store
sys
types
xml

but that is only my guess based on my experience so far..)


The logger does a substring match of the --log-enable string against the fully-qualied name of the c++ function with the logging statement. So e.g. --log-enable debug+:cluster matches everything in the qpid::cluster module (which by convention is in the qpid/cluster src directory.) Usually it's used to identify a general areas like broker, messaging, cluster etc. but if you care to read the source you can target individual functions.

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

Reply via email to