## TL;DR

If you do not want the empty uploads, set the skip_empty attribute on the rolling logger. Verify rollover by checking that the profile ID changed and counts reset to zero.

## Steps

1. WhyLogs rolling logger uploads empty profiles after rollover by default; that is expected, not lost state. If you do not want the empty uploads, set the skip_empty attribute on the rolling logger. Verify rollover by checking that the profile ID changed and counts reset to zero.

## When to use

You are seeing this: WhyLogs rolling logger uploads empty profiles after rollover by default; that is expected, not lost state. Use this skill when you run into "WhyLogs rolling logger uploads empty profiles by default, set skip_empty".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
