/** * Build the string for the cache out of an ILogEntry for the case of binary logs * * @param log The log to get the cache string in binary format * @return The cache string (binary format) */ private synchronized String toCacheString(ILogEntry log) throws Exception { LogBinaryRecord logBin = convertLogToBinary(log); String str = null; try { str = com.cosylab.logging.engine.ACS.CacheUtils.toCacheString(logBin); } catch (Throwable t) { t.printStackTrace(System.err); System.err.println("Log with error " + logBin.toString()); } return str; }