Project and Portfolio Management Practitioners Forum
cancel

Move Log Directory

Highlighted
Lizabeth
Super Contributor.

Move Log Directory

We would like to move the log Directory to a different drive on the server, due to the volume of logs generated.

For moving attachments we need to change the parameter 'ATTACHMENT_DIRNAME' in server.conf, do we have a parameter that can be changed for Logs too?

Thanks for your help
2 REPLIES
Darshan Bavisi
Outstanding Contributor.

Re: Move Log Directory

Hi Lizabeth,

You can use the parameter BASE_LOG_DIR to point to a different directory,

com.kintana.core.server.BASE_LOG_DIR.

The PPM application (ppm operating system user) will also need to have write access to the directory where you will store the log files. If this option gives any issues, then other option is to create a script on the O/S (by the o/s admins), and schedule it to run every say 15 days, and then move the log files every 15 days old (or so), into another folder.
Alan Delimon
Super Contributor.

Re: Move Log Directory

We handle this in a similar way to what Darshan describes. It is a bit complicated, but it works pretty well.

Basically we have a crontab that runs twice a week. It looks for requests that are between 30 and 15 days old, and archives their execution logs to a zip file.

One thing to note is that on Solaris, you are limited to subdirectories in one directory. This is hardcoded in the kernel. If you have more requests than that at any given time you'll need to come up with a solution in addition to the one Darshan and I are suggesting. We are currently looking at creating a subdirectory structure to do just that.