Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logrotate daemon???

Status
Not open for further replies.

SelbyGlenn

Technical User
Oct 7, 2002
444
GB
Hi there,

I have just downloaded and installed a script for automating the startup of Lotus Domino Server running on RH7.3 One of the functions of the script is to redirect the Notes console to a log file. Hashed out in the script is the line "Be sure to change the logrotate daemon" What does this mean?

Thanks in advance, Glenn
BEng A+ MCSE CCA
 
Under linux logrotate is not a daemon - but is usually ru daily under cron (see both the man pages for logrotate and cron).

What it does is copy a current logfile to a backup - and also backs up previous backups for a certain period.

Eg.:
ftp.log -> ftp.log.1
ftp.log.1 -> ftp.log.2
ftp.log.2 -> ftp.log.3
.
.
ftp.log.9 -> ftp.log.10
ftp.log.10 deleted.

It does this so the sizes of log files do not grow enormously.

Sometimes. the numbered backups are compressed too.

There is a config file for rotate in the /etc directory which indicates what logs to rotate and for how long. I would think the comment in the file refers to modifing the config file so that the rotate program will also rotate this now logfile too...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top