How to avoid creation of upgrade.log file in 3.10.0?

174 views
Skip to first unread message

9800

unread,
May 11, 2022, 9:27:21 AM5/11/22
to rabbitmq-users

Hello!

Is it possible to avoid creating the upgrade.log file? We are running on a read-only file system, and i can’t figure out how to disable the creation of this file after updating from 3.8.21 to 3.10.0 (we are using the same config and deployment, only version has changed). 

With 3.8.21, when running i see: 

log(s) : 

<stdout>


However after upgrading to 3.10.0, i now see:

Logs: /var/log/rabbitmq/rabbit@app_upgrade.log

<stdout> 


Which of course crashes when run on the read-only file system.

I have tried variations of:

log.console = true

log.file = false

log.upgrade.file = false


And also setting RABBITMQ_LOGS=-

Any ideas?

Luke Bakken

unread,
May 11, 2022, 9:38:58 AM5/11/22
to rabbitmq-users
Hello,

Thanks for the report. My guess is that the fix for this issue changed the behavior for the upgrade file - https://github.com/rabbitmq/rabbitmq-server/issues/4303

For now you'll have to use a writable file system for /var/log/rabbitmq. I'll file an issue for us to investigate and fix this.

Thanks,
Luke

Luke Bakken

unread,
May 11, 2022, 9:44:31 AM5/11/22
to rabbitmq-users
Reply all
Reply to author
Forward
0 new messages