cancel
Showing results for 
Search instead for 
Did you mean: 

Java Trace files: Maintaining, re-org or delete.

Former Member
0 Kudos

Files in question: defaultTrace.trc

These trace files are filling up the directories.

Are there "standard jobs" - like ABAP reorg jobs - that maintain these files?

Are there maintenence jobs to monitor or reorg these trace files?

Are there "manual" ways to check / delete / reorg these files?

Thanks in advance.

Dawid

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

you can down grade the trace level to minimize the log file growth ...

Check the Note 770853 - changing the trace level in the SAP J2EE engine.

Regards,

Sureshram

Former Member
0 Kudos

You can maintain the size, number and archiving of the files. Allow me to quote myself:

Visual Administrator Tool -> Server -> KERNEL -> LogManager:

DefaultTraceFile_Count -> is the number of files

DefaultTraceFile_Limit -> is the size of the files in bytes

Be aware, that usually the log files are not overwritten. They are archived in ..log/archive. To turn this off you can do this here:

Visual Administrator Tool -> Server -> SERVICES-> Log Configurator -> Tab Properties

Taken from this thread:

Sincerly yours, Michael

Former Member
0 Kudos

Thanks, BUT I have to write a script to "Manually" delete these files:

Something like:

cd /usr/sap/<SID>/<Instance>/j2ee/cluster/server0/log/archive

find . -name "logzip" -mtime +60 -exec rm {} \;

etc.

I just hope SAP Java wakes up and start supplying Standard Maintenance Jobs to maintain the Java filesystems. (Which is frankly a complete mess).

Regards.

Former Member
0 Kudos

Hi,

>I just hope SAP Java wakes up and start supplying Standard Maintenance Jobs to maintain the Java >filesystems. (Which is frankly a complete mess).

I totally agree on this ! I hope that more people will express their opinion on the lack of maturity of the Java stack compared to the Abap stack. SAP will eventually listen to us...

Regards,

Olivier