System logging unable to rotate logs

4.5

Old logs are not being archived or deleted, leading to a single massive file.

Symptoms
  • Single file > 1GB
  • No ".1", ".2" archive files
  • Disk space issues
Possible Causes
  • Incorrect rotation policy
  • Permission denied on archive folder
  • Service bug

Step-by-Step Fix

1

Configure Rotation Policy

In the app or OS settings, set a "Max number of archives" (e.g., 5 files).

2

Check Folder Permissions

Ensure the logging service can create new files in the log directory.

3

Restart Logging Service

Forces the service to re-evaluate the file size and trigger a rotation.

When to See a Technician

Log rotation is essential to prevent a single point of failure and manage disk space.

Rate this Fix

0 / 5(0 ratings)

Comments (0)

No comments yet. Be the first to share!

Related Problems