DevOps Dictionary

A straightforward reference for DevOps terms and concepts.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Log Rotation

Monitoring and Logging

Log Rotation is the automatic practice of closing a log file once it reaches a set size or age and starting a fresh one. The old file is renamed, usually compressed, and kept for a limited time before being deleted (for example, rotate daily and keep 7 compressed files). This keeps logs from filling the disk while recent history stays available for troubleshooting.

Patent-style sketch of Log Rotation: an active log roll is moved by a rotate mechanism to a press that makes compressed archives, and the oldest falls into a delete bin.

See also Observability, OpenTelemetry, Prometheus, Prometheus Recording Rule, Service Level Indicator (SLI), eBPF.