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

49 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

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.

# 修改TSG 9140日志文件保留时间
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-1089 | 2023-12-26T15:43:26.000+0800 | 宋龙坤 | 完成 |
---
背景目前TSG 9140中程序产生日志默认保留三天保留时间过短
需求:
* [~heyong][~songlongkun]统计/opt/tsg/sapp/log路径下每天日志文件大小
* [~luqiuwen]根据评估后指导现场人员修改日志保留时间**heyong** commented on *2023-12-26T15:53:25.824+0800*:
全部NPB板卡系统中/var/log/sapp/硬盘占用情况及/var/所在分区硬盘情况已统计至《log占用及磁盘剩余.txt》中
---
**liuyang** commented on *2023-12-26T16:32:31.990+0800*:
转自[~luqiuwen]/usr/lib/tmpfiles.d/sapp_tmpfile.conf里面的2d修改成7d然后重启systemd-tmpfiles-clean.service服务。
---
**heyong** commented on *2023-12-26T20:50:52.161+0800*:
已完成修改,将在一周后验证是否全部生效。修改命令及结果检查 见《修改命令及结果.txt》
---
## Attachments
**48597/log占用及磁盘剩余.txt**
---
**48664/修改命令及结果.txt**
---