Turning a log file into a sort of circular buffer
- by pachanga
Folks, is there a *nix solution which would make the log file act as a circular buffer? For example, I'd like log files to store maximum 1Gb of data and discard the older entries once the limit is reached.
Is it possible at all? I believe in order to achieve that a log file should be turned into some sort of special device...
P.S. I'm aware of…