cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting Java server archive logs

Former Member
0 Kudos

Hi

I have recently added 3 java servers to our Windows 2003 X64/MS SQL PRD NW04 XI 3 java cluster, I have noticed the \cluster\serverX\ subdirectories are taking allot of space (upto 6GB per server), looking in the subdirectories I can see most of the space is taken by the log archive directory :

<DRIVE>:\usr\sap\<SID>\DVEBMGS<NN>\j2ee\cluster\server<N>\log\archive\

these appear to hold the zipped application logs going back about 6 months, since adding the java servers we are running low on disk space on the OS drive where SAP is installed, is there any dangers in deleting the majority of these files? I was considering retaining the last months worth, so that would free up about 12-15GB accross all the java server processes, is there a standard job you can setup to delete these ?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the advice Niraj, will go and tidy the files up now.

0 Kudos

Hi,

You can delete the archive file without any issue. It is the normal procedure to remove the content of the log archive manually from time to time. there is no automated procedure to empty this folder, In order to gain better control over your log files change the size and count in the Log Configuration.You can also set the setting as below to limit the archive file size.

Open Visual Administrator

Click on the Server who's log files you wish to control

Click on the Log Configurator node

Click on whatever log files you want and edit the file size limit and the count:

ArchiveFileCount is the number of older log files that are kept before the system automatically deletes them.

ArchiveFilesLimit is the maximum size that an archive log file can grow to before the system archives it and creates a new one.

Check this link as well :

http://help.sap.com/saphelp_nw04/helpdata/en/48/2edfd5bd3e0d4a81b90325fe195a70/frameset.htm

Regards

Niraj