@Override
 protected void append(LoggingEvent event) {
   try {
     if (fetchLocationInfo) {
       event.getLocationInformation();
     }
     queue.enqueue(event);
   } catch (IOException e) {
     throw new RuntimeException(e);
   }
 }
 @Override
 public void close() {
   queue.close();
 }