Evan Harmon - Memex

Log Rotation

In information technology, Log Rotation is an automated process used in system administration in which log files are compressed, moved (archived), renamed or deleted once they are too old or too big . New incoming log data is directed into a new fresh file.
wikipedia:: Log rotation

Keeping log files small

tail -c 1M /tmp/myfile > /tmp/dzqxH4ZMiSQb91uMMMgPhsgmpnc && rm /tmp/myfile && mv /tmp/dzqxH4ZMiSQb91uMMMgPhsgmpnc /tmp/myfile

Logrotate

Log Rotation
Interactive graph
On this page
Log Rotation
Keeping log files small
Logrotate