Hello,
By adapter stopping the service to all, by that stock rates not updating to all. I can see my screen also this not getting update the rates. This totally getting issue on my remote adapter I feel.

I need to check my code also whether this causes any issue, could you please help me is the possible to store my java file errors on LS log file.

My code is like,
public class ExternalFeedSimulator {
private static Jedis jedis;
private static JedisPool jedisPool;

public ExternalFeedSimulator() {
JedisPoolConfig poolConfig = new JedisPoolConfig();
poolConfig.setMaxTotal(1000);
jedisPool = new JedisPool(poolConfig, RedisDBConfig.HOST, RedisDBConfig.PORT, RedisDBConfig.TIMEOUT);
}
public static String getJSON() {
try {
jedis = jedisPool.getResource();
ClientsRateRow[] craterows = gson.fromJson(jedis.get("WLallclientsrates"), ClientsRateRow[].class);
for (ClientsRateRow raterow : craterows) {
liveratesnew.put(raterow.client_com_id, raterow);
curclientrates.add(raterow);
}
} catch (IllegalStateException ex) {
ex.printStackTrace();
} catch (JedisConnectionException e) {
e.printStackTrace();
} catch (SecurityException e) {
e.printStackTrace();
} finally {
jedis.close();
}
return null;
}

To check if get any error this need to store into LS log file. Can you help how to store the errors into ls log file from my customer class.