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

7.3. Change Broker Logging Time Resolution


The time stamp resolution of logging can be changed while the broker is running.

Procedure 7.1. Change Resolution Logging on a Running Broker

  1. Edit the file /etc/qpid/qpidd.conf and add the following:
    log-time=1
    log-enable=info+
    log-to-file=/var/lib/qpidd/771830.log
    Copy to Clipboard Toggle word wrap
  2. Launch qpid-tool.
  3. Now that you are running qpid-tool, issue the following command:
    list broker
    Copy to Clipboard Toggle word wrap
    You might have to do this a few times before receiving an answer. It can take a while to get all the info from the broker.
  4. When you see a response similar to this:
    114  14:03:39  -          amqp-broker
    Copy to Clipboard Toggle word wrap
    Use the number (in this example "114") to refer to the broker.
  5. Issue the following command, substituting the appropriate number for your broker:
    call 114 setLogHiresTimestamp 1
    Copy to Clipboard Toggle word wrap
  6. Now look at the log file /var/lib/qpidd/771830.log and verify that it has started using highres time stamps. You might need to do something to get the broker to log a few more lines, for example start another qpid-tool.
  7. To return the logging to the normal resolution, issue the following command in qpid-tool:
    call 114 setLogHiresTimestamp 0
    Copy to Clipboard Toggle word wrap
  8. Now look at the logfile again, and verify that it has stopped using highres.
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