Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

alter script for log rotation

807567Jun 3 2004 — edited Jun 4 2004
Hi,

I use the internal log rotation on Sun Webserver 6.1 SP2 on a solaris installation. magnus.conf entry is like:
Init fn="flex-rotate-init" rotate-start="2330" rotate-interval="1440"
Everything works fine, the logs are rotated once a day. So far, so good.

Now, my idea is to have a "housekeeping" on the logs, which means, not-today logs are zipped and after 30 days, they are removed. I therefore changed the rotate script, which comes with the installation and added the necessary steps to do the desired tasks.
Problem: The rotate script runs perfectly, when I call it manually, but the webserver itself is not zipping and removing the files.
Question: Does the internal log rotation use this rotate script at all? If not, whats the use of this script?

And, after all, has anyone a working solution for my housekeeping tasks?

Thanks for help.
Pat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2004
Added on Jun 3 2004
2 comments
87 views