1

I want to rotate rabbitmq logs daily. It is mentioned in the following link that rotation can be configured using following properties. log.file.rotation.date, log.file.rotation.size, log.file.rotation.count. https://www.rabbitmq.com/logging.html

how can I configure daily rotation using these parameters?

Sainath Batthala
  • 591
  • 4
  • 10
  • Are you saying you do not understand the document? The samples too are given in the document. Try for yourself to understand than asking people to make you understand the documentation. You could ask if after you have tried, something's not working. – Karthik Mar 15 '18 at 10:33
  • 1
    In the example they gave log.file.rotation.date="". What does "" mean? What are the other possible values ?. It is not documented properly over there. Thats the reason why I asked this question, so that someone who solved this task before can help me. – Sainath Batthala Mar 15 '18 at 19:19

1 Answers1

0

RabbitMQ use basho lager as a logging framework. More info about parameters can be found here: https://github.com/basho/lager#internal-log-rotation

Mateusz
  • 116
  • 1
  • 9