如何删除SAP系统日志
答案:2 悬赏:30
解决时间 2021-11-07 16:59
- 提问者网友:他的思颖
- 2021-11-07 01:41
如何删除SAP系统日志
最佳答案
- 二级知识专家网友:如果这是命
- 2021-11-07 03:13
干了坏事要消除罪证?你要把audit log 和 system log 都删掉才行
audit log 删除
1. To access the Security Audit Log reorganization tool from the SAP standard menu,
choose Tools à Administration à Monitor à Security Audit Log à Reorganization.
The Security Audit: Delete Old Audit Logs screen appears.
2. Enter the Minimum age of files to delete (default = 30 days).
This value must be > 3.
3. Activate the To all active instances indicator to delete the audit files from all application
servers. Leave the indicator blank if you only want to delete the files from the local
application server.
4. Activate the Simulation only indicator if you do not actually want to delete the files. In this
case, the action is only simulated.
5. Choose Audit Log à Continue.
但这个只能删3天前的,如果你一定要删现在的需要操作系统的权限 (操作系统下做动作的话,操作系统也会有日志的,各系统设置不同,请自行脑补)
audit log 在参数 rsau/local/file 里决定路径和文件名。
system log
system log 分本地log 和全局log 都要删
If the syslog really should be deleted, you should first consider, that for 'n' application servers, there are 'n' syslogs, plus 1 central syslog. (The central syslog only exists if at least one machine is running UNIX.)
You need the filenames. These can be determined, for example, with the report RSPFPAR or the command 'sapparar'. The following table shows the profile variables and typical values:
rslg/central/file /usr/sap/C11/SYS/global/SLOGJ
rslg/central/old_file /usr/sap/C11/SYS/global/SLOGJO
rslg/local/file /usr/sap/C11/D01/log/SLOG01
rslg/send_daemon/status_file /usr/sap/C11/D01/data/rslgssta
R/3 must be stopped. If the operating system was not also restarted, the shared memory segment 'SCSA' may still exist. This must also be removed. Possible ways to do this are listed in note number 12715.
To delete the central syslog, both syslog files must be deleted. They are recreated automatically when the system is restarted.
To delete one of the local syslog, stop the corresponding application server and delete its SCSA. The syslog file and the small management file are then deleted. They are recreated automatically when the system is restarted.
If the locale syslog file is mistakenly deleted without the described preparation, it is recreated incorrectly. However, it can be repaired after this with the report 'RSLG0020' (note 21153).
翻滚吧,骚年
audit log 删除
1. To access the Security Audit Log reorganization tool from the SAP standard menu,
choose Tools à Administration à Monitor à Security Audit Log à Reorganization.
The Security Audit: Delete Old Audit Logs screen appears.
2. Enter the Minimum age of files to delete (default = 30 days).
This value must be > 3.
3. Activate the To all active instances indicator to delete the audit files from all application
servers. Leave the indicator blank if you only want to delete the files from the local
application server.
4. Activate the Simulation only indicator if you do not actually want to delete the files. In this
case, the action is only simulated.
5. Choose Audit Log à Continue.
但这个只能删3天前的,如果你一定要删现在的需要操作系统的权限 (操作系统下做动作的话,操作系统也会有日志的,各系统设置不同,请自行脑补)
audit log 在参数 rsau/local/file 里决定路径和文件名。
system log
system log 分本地log 和全局log 都要删
If the syslog really should be deleted, you should first consider, that for 'n' application servers, there are 'n' syslogs, plus 1 central syslog. (The central syslog only exists if at least one machine is running UNIX.)
You need the filenames. These can be determined, for example, with the report RSPFPAR or the command 'sapparar'. The following table shows the profile variables and typical values:
rslg/central/file /usr/sap/C11/SYS/global/SLOGJ
rslg/central/old_file /usr/sap/C11/SYS/global/SLOGJO
rslg/local/file /usr/sap/C11/D01/log/SLOG01
rslg/send_daemon/status_file /usr/sap/C11/D01/data/rslgssta
R/3 must be stopped. If the operating system was not also restarted, the shared memory segment 'SCSA' may still exist. This must also be removed. Possible ways to do this are listed in note number 12715.
To delete the central syslog, both syslog files must be deleted. They are recreated automatically when the system is restarted.
To delete one of the local syslog, stop the corresponding application server and delete its SCSA. The syslog file and the small management file are then deleted. They are recreated automatically when the system is restarted.
If the locale syslog file is mistakenly deleted without the described preparation, it is recreated incorrectly. However, it can be repaired after this with the report 'RSLG0020' (note 21153).
翻滚吧,骚年
全部回答
- 1楼网友:萌萌哒小可爱
- 2021-11-07 04:50
sap 是全球企业管理软件与解决方案的技术领袖,同时也是市场领导者。30余年来,通过其应用软件、服务与支持,sap持续不断向全球各行业企业提供全面的企业级管理软件解决方案。随着以sap为代表的新一代商业智能应用所受到企业用户的广泛青睐,sap在中国用户的激增,具备最终用户或内部顾问应掌握的基本sap技能的人才需求数量也相应增加。
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯