Why re-raise here?
You can simply write

```ruby
  if retry_limit <= 0
    warn("log rotation inter-process lock failed. #{$!}")
  else
    sleep retry_sleep
    retry_limit -= 1
    retry_sleep *= 2
    retry
  end
```