Gravatar for dsoriano@littelfuse.com

Question by Dean, Mar 23, 2016 5:50 AM

RabbitMQ Logs

Hi,

How can we make the RabbitMQ logs "rollover" without any downtime? Right now, it is growing too big in just a single file.

Thanks

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Mar 23, 2016 11:03 AM

Hi,

RabbitMQ is not developed by Coveo. Information about its features can be found online on Google for example. Did you search Google for this? I found a lot of results explaining how to achieve RabbitMQ logs rolling online:

  • https://www.rabbitmq.com/man/rabbitmqctl.1.man.html#rotate_logs
  • http://stackoverflow.com/questions/6333691/best-way-to-rotate-rabbitmq-log-files

If your RabbitMQ log file is really big, it might indicate an important problem in your setup. I have RabbitMQ running for months and my log file is only 25MB.

I hope this helps,

Jeff

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Mar 23, 2016 11:11 AM

Hi Jeff,

Yes, thank you, I did search, was just wondering if you have some more info regarding it, like if it will cause a downtime on Rabbit or that sort.

Anyway, you may be right, our RabbitMQ log now is at 2GB+ and growing and it's just been about 6mos. I'm not sure how to open it as it has now grown too large to even check

Any thing you can suggest?

Thanks

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Mar 23, 2016 11:19 AM

I never tried to activate log rolling. If you fear any downtime, you can trigger a rebuild of your Coveo indexes from the Sitecore Indexing Manager after you activate the feature. It will make sure that all the Sitecore items are indexed in the Coveo Enterprise Search index.

To open the big log file, there are many text editors capable of doing this by loading only parts of the file as you scroll them. Again a Google search should give you the plenty of options.

Ask a question