이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 9. Logging
9.1. Configuring logging 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
AMQ JavaScript uses the JavaScript debug module to implement logging.
For example, to enable detailed client logging, set the DEBUG
environment variable to rhea*
:
Example: Enabling detailed logging
export DEBUG=rhea* <your-client-program>
$ export DEBUG=rhea*
$ <your-client-program>
9.2. 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 DEBUG
environment variable to rhea:frames
:
Example: Enabling protocol logging
export DEBUG=rhea:frames <your-client-program>
$ export DEBUG=rhea:frames
$ <your-client-program>