Skip to Main Content

Infrastructure Software

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!

Truncating a log file

807559Jan 3 2005 — edited Jan 7 2005
Is there a way to truncate a syslog log file without actually rotating the file? What I'm looking for is a way to keep the last 90 days worth of logs in the syslog file and just truncate the lines older than 90 days.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 4 2005
Added on Jan 3 2005
1 comment
637 views