Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

7.2. Change Broker Logging Verbosity


Changes
  • New content - added February 2013.
When running qpidd from command line, use --log-enable option with the syntax:
--log-enable LEVEL[+][:PATTERN]
Copy to Clipboard Toggle word wrap
When using a configuration file (/etc/qpid/qpidd.conf by default), use the line:
log-enable=LEVEL[+][:PATTERN]
Copy to Clipboard Toggle word wrap

Notes

  • LEVEL is one of: trace debug info notice warning error critical.
  • The "+" means log the given severity and any higher severity (without the plus, logging of the given severity only will be enabled).
  • PATTERN is the scope of the logging change.
  • The string in PATTERN is matched against the fully-qualified name of the C++ function with the logging statement.
  • To see the fully-qualified name of the C++ function with the logging statement, either check the source code or add to the qpid configuration the log-function=yes option to force qpid broker to log such message.
  • So e.g. --log-enable debug+:ha matches everything in the qpid::ha module, while e.g. --log-enable debug+:broker::Queue::consumeNextMessage will enable logging of one particular method only (the consumeNextMessage method in the given namespace in this example).
  • PATTERN is often set to the module one needs to debug, like acl, amqp_0_10, broker,ha, management or store.
  • The option can be used multiple times.
  • Be aware that having just one option like "log-enable=debug+:ha" enables debug logs of ha information, but does not produce any other logs; to add some more verbose logging, add an option like the above and also add the default value: log-enable=info+
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat