LogRecords.scan(is, new Handler() {
@Override
public void publish(LogRecord rec) {
if (Exceptions.USER_CONFIGURATION.equals(rec.getMessage()) && rec.getParameters() != null){
PreparedParams pp = PreparedParams.prepare(rec.getParameters(), null);
tokenHolder[0] = pp.getUserToken();
}
}
@Override
public void flush() {}