Instructs the RabbitMQ node to perform internal log rotation.
Log rotation is performed according to lager settings specified in configuration file.
Note that there is no need to call this command in case of external log rotation (e.g. from logrotate(8)), because lager detects renames and automatically reopens log files.
For example, this command starts internal log rotation process:
rabbitmqctl rotate_logs
Rotation is performed asynchronously, so there is no guarantee that it will be completed when this command returns.
RabbitMQ遭遇断电,Docker故障崩溃等原因,重新启动集群时节点不加入集群重新join集群RabbitMQ集群节点升级,Mnesia数据存储位置在哪,配置文件在何处新建配置文件 rabbitmq-env.conf、rabbitmq.conf添加之后配置文件错误导致3Docker中对RabbitMQ修改配置文件导致容器无法启动关于日志文件较大https://www.rabbitmq.com/logging.html rotate_logsInstructs the Rabb.