Files
geedge-jira/md/OMPUB-964.md
2025-09-14 21:52:36 +00:00

110 lines
2.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# P19环境Network Zodiac界面无法访问发现服务器磁盘已占用100%
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-964 | 2023-07-16T13:32:34.000+0800 | 方顺健 | 已解决 |
---
tmp目录文件占用293G
!image-2023-07-16-10-29-13-615.png|width=350,height=237!
!image-2023-07-16-10-31-04-743.png!**fangshunjian** commented on *2023-07-16T16:38:33.241+0800*:
[~leijun]
1、请把 附件中  logback-spring.xml 替换 /opt/nezha/nz-web/config 目录下同名文件,后重启 nz-web 服务重启命令systemctl restart nz-web
2、之后删除 /tmp 目录下 spring 开头文件
 
---
**fangshunjian** commented on *2023-07-16T16:46:20.481+0800*:
[~leijun]
1、请把 附件中  logback-spring-agent.xml 替换 /opt/nezha/nz-agent/config 目录下logback-spring.xml文件然后修改文件名为 logback-spring.xml。
2、重启 nz-agent 服务重启命令systemctl restart nz-agent
2、之后删除 /tmp 目录下 spring 开头文件
---
**leijun** commented on *2023-07-16T16:51:08.637+0800*:
10.10.20.159 已替换 logback-spring.xml文件重启nz-web
!image-2023-07-16-13-45-40-491.png!
10.10.10.159 已替换 logback-spring.xml文件删除 spring 开头文件
!image-2023-07-16-13-49-56-339.png!
---
**zhengchao** commented on *2023-07-16T17:48:20.529+0800*:
什么日志需要每天写这么多?
---
**fangshunjian** commented on *2023-07-16T20:06:38.938+0800*:
spring.log 记录的是 框架和 NZ 的info级别日志。
调整log配置文件后取消了spring.log 日志输出,只记录 nz-web.log 系统运行日志,限制日志文件占磁盘空间总大小
---
## Attachments
**41339/image-2023-07-16-10-29-13-615.png**
---
**41338/image-2023-07-16-10-30-14-303.png**
---
**41337/image-2023-07-16-10-31-04-743.png**
---
**41349/image-2023-07-16-13-45-40-491.png**
---
**41350/image-2023-07-16-13-49-56-339.png**
---
**41351/image-2023-07-16-13-59-45-565.png**
---
**41347/logback-spring.xml**
---
**41348/logback-spring-agent.xml**
---