Show Table of Contents
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
- Edit the file
/etc/qpid/qpidd.confand add the following:log-time=1 log-enable=info+ log-to-file=/var/lib/qpidd/771830.log
- Launch
qpid-tool. - Now that you are running qpid-tool, issue the following command:
list broker
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. - When you see a response similar to this:
114 14:03:39 - amqp-broker
Use the number (in this example "114") to refer to the broker. - Issue the following command, substituting the appropriate number for your broker:
call 114 setLogHiresTimestamp 1
- Now look at the log file
/var/lib/qpidd/771830.logand 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 anotherqpid-tool. - To return the logging to the normal resolution, issue the following command in
qpid-tool:call 114 setLogHiresTimestamp 0
- Now look at the logfile again, and verify that it has stopped using highres.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.