前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >RabbitMQ基础12

RabbitMQ基础12

作者头像
franket
发布2022-05-04 22:27:56
2020
发布2022-05-04 22:27:56
举报
文章被收录于专栏:技术杂记技术杂记

轮转日志

当前状态

代码语言:javascript
复制
[root@h102 ~]# ll /var/log/rabbitmq/
total 24
-rw-r--r-- 1 rabbitmq rabbitmq 15807 Oct 23 17:11 rabbit@h102.log
-rw-r--r-- 1 rabbitmq rabbitmq     0 Oct 21 21:58 rabbit@h102-sasl.log
-rw-r--r-- 1 root     root         0 Oct 21 22:18 shutdown_err
-rw-r--r-- 1 root     root        42 Oct 21 22:18 shutdown_log
-rw-r--r-- 1 root     root         0 Oct 23 16:37 startup_err
-rw-r--r-- 1 root     root      2040 Oct 23 17:11 startup_log
[root@h102 ~]# 

轮转日志

代码语言:javascript
复制
[root@h102 ~]# rabbitmqctl  rotate_logs .1
Rotating logs to files with suffix ".1" ...
[root@h102 ~]# 

日志

代码语言:javascript
复制
=INFO REPORT==== 23-Oct-2015::17:20:23 ===
Rotating logs with suffix '.1'

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 轮转日志
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档