aliases:
tags: Type/Tech area/tech proto
from: "[[Logging]]"
related:
contra:
to:
dateCreated: 2023-11-20, 17:32
dateModified: 2024-02-13, 20:15
version: 1.0
publish: true
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 |
tail -c 1M /tmp/myfile > /tmp/dzqxH4ZMiSQb91uMMMgPhsgmpnc && rm /tmp/myfile && mv /tmp/dzqxH4ZMiSQb91uMMMgPhsgmpnc /tmp/myfile
Rotating Logs With Logrotate in Linux | Baeldung on Linux
How To Configure Logging and Log Rotation in Nginx on an Ubuntu VPS | DigitalOcean