Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enabling logging for rabbit mq server within a docker image

I am installing rabbit mq server within docker using the steps mentioned @ https://hub.docker.com/r/_/rabbitmq/ .

The installation went through fine, got my rabbitmq working perfectly fine.

I am unable to find the rabbit mq logs.

How to control and turn on the logging?

like image 924
user170008 Avatar asked Jan 06 '23 21:01

user170008


1 Answers

Using docker logs rabbitmq_container_id to show rabbitmq logs.

or

tail -f /var/lib/docker/rabbitmq_container_id/rabbitmq_container_id.logs

like image 165
Thanh Nguyen Van Avatar answered Jan 16 '23 20:01

Thanh Nguyen Van