Logrotation


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Logrotation
# 1  
Old 11-02-2012
Logrotation

Hi ,

We have so many log files which will increase the size day by day.. can any one let us know how to rotate the log files..
I want to move the logfile to other location after particular time and size of the log file is there any script to change these??
# 2  
Old 11-02-2012
Hi

Check this article (link removed) ...this might help you...


Guru.
This User Gave Thanks to guruprasadpr For This Post:
# 3  
Old 11-07-2012
Hi Gure,

that is really an excellent Article, which cleared all my doubts ablot logrotation.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Solaris

Problem with logrotation

Hi, I have been trying to configure log rotation for the OS version Solaris 10, however it is not working. In Linux, these would be the parameters : rotate 4 missingok notifempty compress size 15M create 0644 root root To do the same in Solaris, I am not sure of the exact parameters... (3 Replies)
Discussion started by: anaigini45
3 Replies

2. Fedora

Need help with logrotation

Hi I need help in rotating logs. A folder /tftpboot holds following directories, these directories are created everyday automatically, these are backup folders, that is they hold backup of data. drwxr-xr-x 2 phone phone 4096 Nov 1 13:19 1nov09.bkp drwxr-xr-x 2 phone phone 4096 Nov... (4 Replies)
Discussion started by: renuka
4 Replies
Login or Register to Ask a Question