fix logger not rotating log files except on startup/shutdown

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>