} while (needsRotation);
tryHandler.tryProcess(event, eventId, currentLog);
} catch (IOException e) {
int counter = currentLog == null? -1 : currentLog.getCounter() + 1;
String path = currentLog.getPath();
throw new FinalFailureException(event, e, counter,
path);
} finally {
manager.resumeRotation();
if(LOG.isDebugEnabled()){
LOG.debug(getClass().getSimpleName() + " resumed rotation.");