Hello
It seems that you could use ADRCI for cleaning these logs as stated in the here under note.
There may be a way through BR*Tools also using option cleanup_ora_dir as described in note1647272
Regards
1431751 - Quick Reference for ADRCI and ADR
ADR base for the database listener (see MOS note 454927.1):
Set ADR base by adding the following entry in the listener.ora: ADR_BASE_<LISTENER_NAME>=/oracle/<DB_SID>/saptrace (Unix)
Appendix B: ADR purging policy (ADR Retention)
ADR Retention can be controlled with ADRCI:
There is retention policy for ADR that allow to specify how long to keep the data ADR incidents are controlled by two different policies:
- The incident metadata retention policy ( default is 1 year: LONGP_POLICY = 8760 hours)
- The incident files and dumps retention policy ( default is one month: SHORTP_POLICY = 720 hours)
MMON process automatically purges expired ADR data. You can change retention policy using "adrci".
adrci> SHOW CONTROL
To change the retention police issue the following commands:
adrci> SET CONTROL (SHORTP_POLICY = 360 )
adrci> SET CONTROL (LONGP_POLICY = 4380 )
For SAP the recommendation is to use the Oracle Default settings.