Don't set logrotate if there's no log to rotate

1 job for fix/logrotate in 3 minutes and 16 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #539
lint

00:03:16