@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }
@Override public void run() { while (true) try { final String accessLogEntry = queue.take(); if (accessLogEntry != null) appender.append(accessLogEntry); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted waiting for log entry to be queued, exiting!", exception); return; } catch (Throwable throwable) { LOGGER.log(WARNING, "Exception caught appending ququed log entry", throwable); } } }
@Override public void close() throws IOException { thread.interrupt(); try { thread.join(); } catch (InterruptedException exception) { LOGGER.log(FINE, "Interrupted stopping de-queuer", exception); } finally { appender.close(); } }