Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Why creating a fresh log file is called log rotate instead of log refresh or log delete? What does the word rotate emphasis?

share|improve this question

1 Answer 1

It's called logrotate because typically it is used to "rotate" logs to new files periodically -- that is, it doesn't delete or refresh them (at least from my interpretation of those words).

One definition of "rotate" provided by the Random House Dictionary is:

to cause to go through a cycle of changes or follow in a fixed routine of succession: to rotate crops.

logrotate does as described -- typically log becomes log.1, log.1 becomes log.2, etc. They are not typically deleted before they reach the threshold -- log deletion is not the primary function of logrotate, rotation is.

share|improve this answer
1  
+1 for your support @Chris Down –  Ruban Savvy Dec 20 '13 at 11:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.