このコンテンツは選択した言語では利用できません。
Chapter 5. Using the API
This chapter explains how to use the AMQ Ruby API to perform common messaging tasks.
For more information, see the AMQ Ruby API reference and AMQ Ruby example suite.
5.1. Logging リンクのコピーリンクがクリップボードにコピーされました!
5.1.1. Enabling protocol logging リンクのコピーリンクがクリップボードにコピーされました!
The client can log AMQP protocol frames to the console. This data is often critical when diagnosing problems.
To enable protocol logging, set the PN_TRACE_FRM environment variable to 1:
Example: Enabling protocol logging
$ export PN_TRACE_FRM=1
$ <your-client-program>
To disable protocol logging, unset the PN_TRACE_FRM environment variable.