Collect logs for OSS RabbitMQ installed on Windows OS
search cancel

Collect logs for OSS RabbitMQ installed on Windows OS

book

Article ID: 297353

calendar_today

Updated On:

Products

Support Only for OpenSource RabbitMQ

Issue/Introduction

How to collect logs for OSS RabbitMQ installed on Windows OS.

Resolution

When working on an OSS RabbitMQ for Windows issue with VMware Support, collect the following from each RabbitMQ server in the cluster:

Procedure:

  1. Download the “rabbitmq-collect-env.ps1” script from GitHub to the Windows environment. This script collects RabbitMQ and selected OS logs, system-level metrics, and other environment information that can provide insight into the overall state of the node.
  2. After enabling relevant permissions, execute this script on all the RabbitMQ nodes to capture logs.
  3. If you cannot download the “rabbitmq-collect-env.ps1” script, use the manual commands below on all the RabbitMQ nodes to capture logs.

    The full set of logs contained in the RABBITMQ_LOG_BASE, located at RABBITMQ_BASE\log
    • rabbitmqctl report
    • rabbitmqctl status
    • rabbitmqctl cluster_status
    • rabbitmqctl environment

Note:

  • The default location for RabbitMQ logs on Windows can be found here: Default Locations on Windows
  • rabbitmqctl commands can be collected using rabbitmqctl.batlocated in the rabbitmq_server-<version>\sbin directory.